PUT
/
v1
/
Outbound
/
{outboundId}
/
Lead
curl --request PUT \
  --url https://api.nlpearl.ai/v1/Outbound/{outboundId}/Lead \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "phoneNumber": "<string>",
  "externalId": "<string>",
  "timeZoneId": "<string>",
  "callData": {}
}'
{
  "leadId": "<string>"
}

Authorizations

Authorization
string
header
required

Specify the authorization token.

For more information, check out the Authorization Guide.

Path Parameters

outboundId
string
required

The unique identifier of the outbound campaign to which the lead will be added.

Body

The lead details to be added to the outbound campaign.

The body is of type object.

Response

200
text/plain

Id of the added lead.

The response is of type object.