Grow
Audiences
Contacts, properties, segments, topics, imports and unsubscribes.
Your audience is the people you send marketing email to: contacts, their properties, the segments you group them into and the topics they subscribe to. Manage it in Audience or with the Contacts, Segments and Topics APIs.
Contacts
- A contact is an email address, unique in your team, with an optional first and last name and any properties you like.
- Read, update or delete a contact by its id or by its email address:
GET /contacts/maya@studio.designworks. - Updates merge properties: keys you leave out keep their values.
unsubscribed: truetakes the contact off every broadcast. It does not stop transactional email.- Contacts count toward your marketing plan. The Free plan holds 1,000; adding past the plan returns
403 plan_limit_reached.
curl -X POST https://isent.dev/api/v1/contacts \
-H "Authorization: Bearer $ISENT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "maya@studio.design",
"first_name": "Maya",
"last_name": "Chen",
"properties": {
"company": "Studio",
"plan": "trial"
}
}'Import a CSV
In Audience, choose Import and upload a CSV. Map one column to Email and the others to names or properties (create a property before you map a column to it). Addresses already in your audience are updated, not duplicated. A file can hold up to 50,000 rows and 5 MB.
Properties
Properties are your own fields on a contact: plan, company, signup date. Values are strings, numbers, booleans or null. Use them in broadcast content ({{plan}}) and in automation conditions. Define the ones your team uses under Audience, Properties, so the dashboard knows their names and types.
Segments
A segment is a named group of contacts that a broadcast or a scheduled automation goes to. Add contacts from the dashboard, or by id or address with POST /segments/{id}/contacts (unknown contacts are skipped). Deleting a segment keeps its contacts. Free marketing plans have 3 segments; paid plans have no limit.
curl -X POST https://isent.dev/api/v1/segments/{id}/contacts \
-H "Authorization: Bearer $ISENT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"emails": [
"maya@studio.design",
"lee@acme.dev"
]
}'Topics
Topics are the kinds of email you send, such as Product updates or Monthly newsletter. A broadcast can be limited to one topic, and contacts choose their topics on their preferences page.
| Setting | Value | Effect |
|---|---|---|
default_subscription | opt_in | Only contacts who said yes get the topic's broadcasts. |
default_subscription | opt_out | Every contact gets them, except those who said no. |
visibility | public | Listed on the preferences page. |
visibility | private | Not listed: for topics you manage yourself. |
Unsubscribes and suppression
- Every broadcast carries one-click unsubscribe headers, as Gmail, Yahoo and Outlook require for bulk mail, and a link to the contact's preferences page.
- Contacts who unsubscribe are marked
unsubscribed(or unsubscribed from that topic) and skipped from then on. - Hard bounces and spam complaints add the address to your suppression list, which applies to every email you send. See Deliverability.
- Changes fire
contact.created,contact.updatedandcontact.deletedwebhooks.