Contacts
Manage contacts, organize them into groups, and send SMS to entire groups at once.
Overview
Contacts let you store phone numbers with names so you can quickly select recipients when sending messages. Organize contacts into groups for bulk messaging — send to an entire group with a single action.
Contacts are also used to auto-fill template variables like {{name}} when sending personalized messages.
Managing contacts
Adding contacts
- Navigate to Contacts in the sidebar
- Click Add Contact
- Enter a name and phone number
- Optionally assign the contact to one or more groups
- Click Create
Importing contacts
You can bulk-import contacts from vCard (.vcf) files. This is useful for importing contacts exported from your phone, Google Contacts, or other services.
- Go to Contacts
- Click Import
- Select a
.vcffile - Review the preview and confirm
Duplicate phone numbers are skipped during import.
Groups
Groups let you organize contacts and send messages to multiple recipients at once. A contact can belong to multiple groups.
Creating groups
- Navigate to Contacts and switch to the Groups tab
- Click Add Group
- Enter a group name
Sending to groups
When composing a message in the dashboard, you can select one or more groups as recipients. All contacts in those groups will receive the message.
Via the API, pass group_ids instead of (or in addition to) recipients:
POST /api/sms/send
{
"group_ids": ["group_id_1", "group_id_2"],
"body": "Hello everyone!"
} API access
Contacts and groups are stored in the contacts and contact_groups collections. All operations are scoped to the authenticated user.
List contacts
GET /api/collections/contacts/records Create a contact
POST /api/collections/contacts/records | Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Contact name |
phone | string | Yes | Phone number in E.164 format |
groups | relation[] | No | Array of group IDs |
List groups
GET /api/collections/contact_groups/records Export contacts
GET /api/contacts/export Returns all contacts as a downloadable vCard (.vcf) file.
Related
- SMS Templates — Use contact names in template variables
- Send SMS — Send to groups via the API