Skip to main content
POST
/
dispositions
Creates a disposition.
curl --request POST \
  --url https://api.leadping.ai/dispositions \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "leadId": "<string>",
  "type": "<string>",
  "outcome": "<string>",
  "notes": "<string>",
  "timestamp": "2023-11-07T05:31:56Z"
}'
{
  "id": "<string>",
  "leadId": "<string>",
  "type": "<string>",
  "outcome": "<string>",
  "notes": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. (i.e. "Bearer 1234abcdef")

Body

application/json

The disposition data to create.

Request model for creating or updating a disposition.

leadId
string | null

The ID of the lead this disposition is associated with.

type
string | null

The type of disposition (e.g., "Call", "Text").

outcome
string | null

The outcome or result of the disposition.

notes
string | null

Additional notes or comments about the disposition.

timestamp
string<date-time>

The timestamp when the disposition occurred.

Response

Disposition was successfully created.

Response model for disposition data.

id
string | null

The unique identifier of the disposition.

leadId
string | null

The ID of the lead this disposition is associated with.

type
string | null

The type of disposition (e.g., "Call", "Text").

outcome
string | null

The outcome or result of the disposition.

notes
string | null

Additional notes or comments about the disposition.

timestamp
string<date-time>

The timestamp when the disposition occurred.

createdAt
string<date-time>

The timestamp when the disposition was created.

updatedAt
string<date-time>

The timestamp when the disposition was last updated.

I