Skip to main content
POST
/
leads
/
{leadId}
/
contacts
Create contact
curl --request POST \
  --url https://flozy-backend-1042419926531.us-central1.run.app/api/v1/external/leads/{leadId}/contacts \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "full_name": "Jane Smith",
  "email": "jane@example.com",
  "phone_number": "+1 555 000 1234"
}
'
{
  "http_code": 201,
  "status": "success",
  "message": "Contact created",
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "full_name": "Jane Smith"
  }
}

Authorizations

X-API-Key
string
header
required

Your Flozy API key. Starts with flz_live_.

Path Parameters

leadId
integer
required

Body

application/json
full_name
string
required
Maximum string length: 255
Example:

"Jane Smith"

email
string<email> | null
Example:

"jane@example.com"

phone_number
string | null
Maximum string length: 50
Example:

"+1 555 000 1234"

whatsapp_number
string | null
Maximum string length: 50

Response

Contact created.