id and can have preferences for different notification targets.
Recipients are created when you send notifications or explicitly via the API.
Contacts
To deliver over a medium other than the in-app inbox, a recipient needs a contact — a per-medium address. To receive email, a recipient must have a primary email contact. Manage contacts under/recipients/{recipient_id}/contacts:
- Each contact has a
medium(onlyemailis used today;sms,web_push, andmobile_pushare reserved), anaddress, and anis_primaryflag. - Only one primary contact is allowed per
(recipient, medium). Email is sent to the primary email contact. - Adding a duplicate address, or a second primary for the same medium, returns
409. - Creating, listing, and updating contacts work with a
Full accessorRecipient accessAPI key; deleting a contact requiresFull access.
Sync a recipient’s email server-side (for example on your
/me endpoint) rather than from the browser, so the address never travels on a client-side call.