Skip to main content
POST
/
v1
/
api
/
contacts
Create Contact
curl --request POST \
  --url https://api.withallo.com/v1/api/contacts \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "John",
  "last_name": "Doe",
  "job_title": "CEO",
  "website": "https://acme.com",
  "emails": [
    "[email protected]"
  ],
  "numbers": [
    "+15551234567"
  ]
}
'
{
  "data": {
    "id": "cnt_abc123",
    "name": "John",
    "last_name": "Doe",
    "job_title": "CEO",
    "website": "https://acme.com",
    "status": null,
    "is_archived": false,
    "created_at": "2024-01-21T10:30:00",
    "updated_at": "2024-01-21T10:30:00",
    "numbers": [
      "+15551234567"
    ],
    "is_whitelisted": false,
    "last_activity_date": "2024-01-21T10:30:00",
    "engagement": null
  }
}

Authorizations

Authorization
string
header
required

Scope needed: CONTACTS_READ_WRITE

Body

application/json

Request body for creating a new contact

numbers
string[]
required

Phone numbers (at least one required, E.164 format)

Example:
["+15551234567"]
name
string | null

First name

Example:

"John"

last_name
string | null

Last name

Example:

"Doe"

job_title
string | null

Job title

Example:

"CEO"

website
string | null

Website URL

Example:

"https://acme.com"

emails
string[] | null

Email addresses

Example:

Response

Contact created successfully

Standard response wrapper for a single contact

data
object

A contact record with engagement information