Baack
Browse the docs

Endpoints

  • CreatePOST/n/v1/lead/

    Representation of a sales lead or opportunity for example a contact received from a website contact form. Leads that are converted are turned into deals which include more detail around a specific proposition

    Baack allocates the URN and returns it in the response.

    Request body: Lead

    Responses

    201 Created
    returns LeadCREATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • ReadGET/n/v1/lead/{urn}

    Representation of a sales lead or opportunity for example a contact received from a website contact form. Leads that are converted are turned into deals which include more detail around a specific proposition

    Parameters

    urn (path, required)

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

    Responses

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

    Representation of a sales lead or opportunity for example a contact received from a website contact form. Leads that are converted are turned into deals which include more detail around a specific proposition

    Parameters

    urn (path, required)

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

    Request body: Lead

    Responses

    202
    returns LeadUPDATE_SUCCESS
    400 Bad request
    returns ErrorINVALID_REPRESENTATION
  • DeleteDELETE/n/v1/lead/{urn}

    Representation of a sales lead or opportunity for example a contact received from a website contact form. Leads that are converted are turned into deals which include more detail around a specific proposition

    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: LEAD

Webhook for updates related to lead creation and updates.

Events related to when a new lead is created on the platform. These events can be used to trigger experiences like creating a task or reviewing the lead details to decide how to route it.

Body: Webhook Event

Your response

200
Return 200 status to indicate that data was received successfully

Fields

Lead fields
FieldTypeDescription
ownerCompany

Required on create.

.

contactCompanyCompany
closedReasonstring

Up to 1024 characters.

createdTimestampstring (date-time)
sourcestring

One of: UNKNOWN, ADS, CALL, EMAIL, EVENT, REFERRAL, SOCIAL, WEBSITE

titlestring

Up to 1024 characters.

updatedTimestampstring (date-time)
urlstring (uri)
urnstring (uuid)
targetValueMoney
assigneeIdentity
contactIdentityIdentity
entityEntity
outcomestring

One of: IN_PROGRESS, CONVERTED, CLOSED

statusstring

One of: NEW, CONTACTED, QUALIFIED

Used by: Deal, Search Item