curl --request POST \
--url https://client-api.salesfinity.co/v1/contact-lists/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"account": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"linkedin": "<string>",
"email": "<string>",
"website": "<string>",
"notes": "<string>",
"phone_numbers": [
{
"type": "mobile",
"number": "<string>",
"country_code": "<string>",
"extension": "<string>"
}
],
"company": "<string>",
"title": "<string>",
"priority": 123,
"timezone": "<string>",
"external_relations": {}
}'
Adds a new contact to an existing contact list, identified by the list ID.
- Path Parameter:
id
(string, required) - ID of the contact list.
- Request Body:
ContactListContactDTO
- Response (201): Details of the newly added contact.
Available options:
mobile
,
direct
,
office
phone_numbers.country_code
Contact added successfully
The response is of type any
.