Contacts
Contacts are the people you send broadcasts to.
Create and update
Section titled “Create and update”curl https://api.sendsignal.dev/contacts \ -H "Authorization: Bearer ss_..." -H "Content-Type: application/json" \ -d '{ "email": "sam@example.com", "first_name": "Sam", "last_name": "Jones", "properties": { "plan": "pro" } }'properties holds your custom fields; define them first as
contact properties. Creating a contact fires the contact.created
automation trigger.
PATCH /contacts/{id} updates first_name, last_name, properties, and unsubscribed; set
{"unsubscribed": true} to opt a contact out of all broadcast mail programmatically (the same
state a recipient reaches through the unsubscribe link).
Look up and list
Section titled “Look up and list”GET /contacts: the full roster.GET /contacts?email=sam@example.com: exact-email lookup, returned as a single-itemdataarray (empty if no match).GET /contacts/{id}: one contact.DELETE /contacts/{id}: remove entirely (preferunsubscribed: trueif you only need them to stop receiving mail).