Volver al catálogo

Contractbook

contractbook

Contractbook is a contract lifecycle management platform for creating, organizing, sharing, sending, and signing contracts.

Acciones
9
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (9)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Create Document From TemplateCONTRACTBOOK_CREATE_DOCUMENT_FROM_TEMPLATEAcción

Create a draft document from a Contractbook template, optionally overriding its document fields; this does not send the draft for signature.

Parámetros de entrada

  • tagsstring[]

    Tags assigned to the draft; each tag must be a non-empty string.

  • titlestring

    Draft title override.

  • messagestring

    Draft message content override.

  • partiesobject[]

    Party and signee overrides for the draft.

  • languagestring

    Draft language code override.

  • attachmentsobject[]

    Attachments to put on the draft using already-hosted Contractbook-compatible URLs.

  • data_fieldsobject[]

    Template data-field values and definitions to apply; omitted conditional fields resolve as false in template conditions.

  • template_idstringObligatoriouuid

    Template ID used to create the draft.

  • dynamic_tablesobject[]

    Values used to fill dynamic-table placeholders in the template.

  • to_be_signed_bystringenum

    Who must sign the draft.

    owner_and_othersothers_onlyowner_only
  • company_logo_urlstringuri

    Company logo URL override; pass null to remove the logo.

  • signing_order_modestringenum

    Draft signing order mode override.

    randomstrictgrouped
  • attachments_signed_separatelyboolean

    Whether draft attachments are signed and sealed separately.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Permanently Delete DocumentCONTRACTBOOK_DELETE_DOCUMENTAcción

Permanently destroy a Contractbook document with no restore option. Signed documents cannot be deleted through this API; Contractbook rejects signed or otherwise undeletable documents rather than reporting success.

Parámetros de entrada

  • document_idstringObligatorio

    ID of the Contractbook document to permanently destroy. This cannot be undone, and signed documents cannot be deleted through this API. Retrieve the document first if its identity or state is uncertain.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get DocumentCONTRACTBOOK_GET_DOCUMENTAcción

Get the full current Contractbook document, including the version required for a safe update.

Parámetros de entrada

  • document_idstringObligatoriouuid

    Contractbook document ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Document PDF LinkCONTRACTBOOK_GET_DOCUMENT_PDF_LINKAcción

Get a short-lived PDF download URL for a document, or a not-ready message when Contractbook is still generating it.

Parámetros de entrada

  • document_idstringObligatorio

    Contractbook document ID whose PDF link to request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get TemplateCONTRACTBOOK_GET_TEMPLATEAcción

Get a template's full fields, parties, attachments, and signing configuration before creating a draft from it.

Parámetros de entrada

  • template_idstringObligatoriouuid

    Contractbook template ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List AutomationsCONTRACTBOOK_LIST_AUTOMATIONSAcción

List Contractbook automations for one trigger type; this only discovers automations and does not run them.

Parámetros de entrada

  • trigger_typestringObligatorioenum

    Trigger type whose published automations to return.

    webhook_triggerhubspot_contractbook_automation_triggeredhubspot_deal_stage_changedcontract_signedcontract_verified_aicontract_vieweddata_field_date_reacheddata_field_updateddraft_createddraft_updateddrafter_questionnaire_completedsent_for_signature+5

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List DocumentsCONTRACTBOOK_LIST_DOCUMENTSAcción

Search and filter documents visible to the connected Contractbook account, returning one page and a cursor for continuation.

Parámetros de entrada

  • fullboolean

    Include data fields and full party details in each result.

  • tagsstring[]

    Tags used to filter documents.

  • ownedboolean

    When set, filter by whether the connected account owns the document.

  • titlestring

    Case-insensitive partial title to match.

  • cursorstring

    Opaque next_cursor returned by a previous call; omit for the first page.

  • statesstring[]

    Document states to include.

  • contextsstring[]

    Document areas to search; include all three values to search every available area.

  • page_sizeinteger

    Maximum documents in this page (0-100).

  • sort_columnstringenum

    Field used to sort results.

    created_atupdated_attitle
  • workspace_idstring

    Workspace ID to filter when contexts includes workspace.

  • signed_beforestringdate-time

    Return documents signed before this timestamp, excluding the boundary.

  • document_typesstring[]

    Document types to include.

  • sort_directionstringenum

    Sort direction.

    ascdesc
  • updated_beforestringdate-time

    Return documents updated before this timestamp, excluding the boundary.

  • signed_at_or_afterstringdate-time

    Return documents signed at or after this timestamp.

  • updated_at_or_afterstringdate-time

    Return documents updated at or after this timestamp.

  • integration_object_idstring

    External integration object ID associated with documents.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List TemplatesCONTRACTBOOK_LIST_TEMPLATESAcción

List all Contractbook templates visible to the connected account for choosing a template ID.

Parámetros de entrada

  • exclude_spacesboolean

    Exclude templates located in spaces when true.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update DocumentCONTRACTBOOK_UPDATE_DOCUMENTAcción

Update selected fields of a draft or stored contract using its current version; supplied collection fields replace their complete existing collections.

Parámetros de entrada

  • tagsstring[]

    Complete replacement tag list; fetch and merge first to preserve existing tags.

  • titlestring

    Replacement document title.

  • messagestring

    Replacement document message content.

  • partiesobject[]

    Complete replacement party and signee list; fetch and merge first to preserve parties.

  • versionstringObligatoriouuid

    Current document version from GET_DOCUMENT or a recent document response; stale values fail with version_mismatch.

  • languagestring

    Replacement document language code; pass null only when intentionally clearing it.

  • attachmentsobject[]

    Complete replacement attachment list using Contractbook attachment objects; fetch and merge first to preserve existing attachments. Pass null only when intentionally clearing it.

  • data_fieldsobject[]

    Complete replacement data-field list; fetch and merge first to preserve fields.

  • document_idstringObligatoriouuid

    Draft or stored-contract document ID.

  • dynamic_tablesobject[]

    Complete replacement dynamic-table definitions with attrs containing id, columns, and rows.

  • to_be_signed_bystringenum

    Who must sign the document.

    owner_and_othersothers_onlyowner_only
  • company_logo_urlstringuri

    Replacement company logo URL; pass null only when intentionally clearing it.

  • signing_order_modestringenum

    Replacement signing order mode.

    randomstrictgrouped
  • attachments_signed_separatelyboolean

    Whether attachments are signed separately from the document.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not