curl --request POST \
--url https://app.getaptly.com/api/contacts \
--header 'Content-Type: application/json' \
--header 'x-token: <x-token>' \
--data '
{
"name": "Jane Smith",
"_id": "JShpBxEFgRmZnivTf",
"email": "jane@example.com"
}
'{
"_id": "JShpBxEFgRmZnivTf",
"name": "Jane Smith",
"email": "jane@example.com"
}Creates a new contact or updates an existing one if _id is provided.
curl --request POST \
--url https://app.getaptly.com/api/contacts \
--header 'Content-Type: application/json' \
--header 'x-token: <x-token>' \
--data '
{
"name": "Jane Smith",
"_id": "JShpBxEFgRmZnivTf",
"email": "jane@example.com"
}
'{
"_id": "JShpBxEFgRmZnivTf",
"name": "Jane Smith",
"email": "jane@example.com"
}Documentation Index
Fetch the complete documentation index at: https://aptly-1c228e04.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Your Aptly API Token. Available in the Aptly UI under Card Sources > API.