Lead | Baack docs
Lead
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
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
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
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
| Field | Type | Description |
|---|---|---|
| owner | Company | Required on create. . |
| contactCompany | Company | |
| closedReason | string | Up to 1024 characters. |
| createdTimestamp | string (date-time) | |
| source | string | One of: |
| title | string | Up to 1024 characters. |
| updatedTimestamp | string (date-time) | |
| url | string (uri) | |
| urn | string (uuid) | |
| targetValue | Money | |
| assignee | Identity | |
| contactIdentity | Identity | |
| entity | Entity | |
| outcome | string | One of: |
| status | string | One of: |
Used by: Deal, Search Item