Skip to main content
Creates a new contact in the specified customer list. Phone number is required, while first name, last name, gender, and variants are optional.

Request Example

curl --request POST \
  --url https://api.olimi.ai/api/external/v1/customer-lists/{customer_list_id}/contacts \
  --header 'content-type: application/json' \
  --header 'x-api-key: YOUR_API_KEY_FROM_DASHBOARD' \
  --data '{
  "first_name": "John",
  "last_name": "Doe",
  "phone_number": "+1234567890",
  "gender": "male",
  "variants": [
    {
      "key": "variant_123",
      "value": "Premium"
    },
    {
      "key": "variant_456",
      "value": "Active"
    }
  ]
}'