POST
/
segment
/
contact
/
create?id=
{id}
curl --request POST \
  --url 'https://api.precallai.com/api/v1/segment/contact/create?id={id}' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "description": "<string>",
  "job_title": "<string>",
  "lifecycle_stage": "<string>",
  "lead_status": "<string>"
}'
{
  "message": "Contact audience created successfully."
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The ID of the contact to create audience

Body

application/json
Contact to add
first_name
string
required

First name

last_name
string
required

Last name

email
string
required

Email

phone
string
required

phone number

description
string

Description

job_title
string

Job title

lifecycle_stage
string

Lifecycle stage

lead_status
string

Lead status

Response

200
application/json
Create Contact audience response
message
string
Example:

"Contact audience created successfully."