POST
/
segment
/
contact
/
create?id=
{id}
cURL
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 created successfully."
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The ID of the Segment to create contact

Body

application/json

Contact to add

first_name
string
required

First name

last_name
string
required

Last name

phone
string
required

phone number

email
string

Email

description
string

Description

job_title
string

Job title

lifecycle_stage
string

Lifecycle stage

lead_status
string

Lead status

Response

Create Contact response

message
string
Example:

"Contact created successfully."