Baack
Browse the docs

Endpoints

  • CreatePOST/n/v1/deal/

    Representation of a customer business deal sourced from a lead which results in invoices when won. Deals can be created independently from leads however the platform UX is intended for leads to convert to deals to provide a funnel view of lead to deal to sales progress.

    Baack allocates the URN and returns it in the response.

    Request body: Deal

    Responses

    201 Created
    returns DealCREATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • ReadGET/n/v1/deal/{urn}

    Representation of a customer business deal sourced from a lead which results in invoices when won. Deals can be created independently from leads however the platform UX is intended for leads to convert to deals to provide a funnel view of lead to deal to sales progress.

    Parameters

    urn (path, required)

    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Responses

    200 OK
    returns DealREAD_SUCCESS
    404 Not found
    returns ErrorNOT_FOUND
    curl -H "Authorization: Bearer $BAACK_API_TOKEN" \
      https://api.baack.co/n/v1/deal/{urn}
  • UpdatePUT/n/v1/deal/{urn}

    Representation of a customer business deal sourced from a lead which results in invoices when won. Deals can be created independently from leads however the platform UX is intended for leads to convert to deals to provide a funnel view of lead to deal to sales progress.

    Parameters

    urn (path, required)

    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Request body: Deal

    Responses

    202
    returns DealUPDATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • DeleteDELETE/n/v1/deal/{urn}

    Representation of a customer business deal sourced from a lead which results in invoices when won. Deals can be created independently from leads however the platform UX is intended for leads to convert to deals to provide a funnel view of lead to deal to sales progress.

    Parameters

    urn (path, required)

    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Responses

    202
    DELETE_SUCCESS

Webhook

POSTyour destination URL

Subject: DEAL

Webhook for changes to customer deals like deal creation, update or deletion.

Events related to updates to deals on the platform which allow notification for changes to deal status. Deals are created from leads and converted into payment invoices when the deal is closed. This webhook allows integrations to track the status of a deal as it progresses and implement customer related experiences like outreach or other updates.

Body: Webhook Event

Your response

200
Return 200 status to indicate that data was received successfully

Fields

Deal fields
FieldTypeDescription
ownerCompany

Required on create.

.

contactCompaniesarray of Company
lostReasonstring

Up to 1024 characters.

leadSourceLead
probabilitynumber (double)
createdTimestampstring (date-time)
titlestring

Up to 1024 characters.

updatedTimestampstring (date-time)
contactIdentitiesarray of Identity

Ignored on update.

urnstring (uuid)
invoicesarray of Payment Invoice

Ignored on update.

workflowStageWorkflow Stage
targetValueMoney
targetCloseTimestampstring (date-time)
assigneeIdentity
closeTimestampstring (date-time)
entityEntity
outcomestring

One of: OPEN, WON, LOST

Used by: Search Item