API Reference
Contacts API
Create, update, tag, and delete WhatsApp contacts on Vobiz, or import thousands of contacts at once via CSV bulk upload for campaign targeting.
GET
Contacts API
Base URL:
Returns a paginated list of contacts. Filter by name/phone with
Returns the full profile for a single contact by ID.
Create a single contact. Attach
Update a contact’s name, tags, or custom attributes. All fields are optional; send only what you want to change. Returns
Permanently delete a contact from your account. Returns
Bulk-import contacts from a CSV file using
When some rows fail,
https://api.vobiz.ai/api/v1/messaging
Authentication: every request requires X-Auth-ID: MA_XXXXXXXX and X-Auth-Token: <token> headers (a Authorization: Bearer <JWT> header is also accepted). Send Content-Type: application/json on requests with a body. Get your credentials from console.vobiz.ai.
Endpoints overview
| Method | Endpoint | Description |
|---|---|---|
GET | /api/v1/messaging/contacts | List contacts (paginated) |
GET | /api/v1/messaging/contacts/{id} | Get a single contact |
POST | /api/v1/messaging/contacts | Create a new contact |
PUT | /api/v1/messaging/contacts/{id} | Update a contact |
DELETE | /api/v1/messaging/contacts/{id} | Delete a contact |
POST | /api/v1/messaging/contacts/import | Bulk import from CSV |
List contacts
search, or filter by tag.
Page number.
Records per page.
Search by name or phone number.
Filter by tag name.
cURL
200 OK
Get contact
cURL
Create contact
tags and custom_attributes for filtering and campaign targeting. Returns 201 Created.
Phone number in E.164 format (e.g.
+919876543210).Contact name.
List of tag strings.
Arbitrary key/value metadata for the contact.
cURL
Update contact
200 OK.
Updated contact name.
Updated list of tag strings.
Updated key/value metadata.
cURL
Delete contact
204 No Content.
cURL
Import contacts (CSV)
multipart/form-data. Send the file under the form field named file. The CSV must include phone_number and name columns; tags (comma-separated) is optional. Returns 200 OK with a summary.
CSV format:
cURL
200 OK
errors lists each one:
200 OK (with errors)
Do not set
Content-Type manually when using -F - curl sets the correct multipart/form-data boundary automatically.Contact object
Unique contact identifier (UUID).
Your Vobiz account ID (
MA_XXXXXXXX).Phone number in E.164 format.
Contact name.
List of tags assigned to the contact.
Arbitrary key/value metadata.
Timestamp of the contact’s most recent activity (RFC3339 UTC). May be omitted if the contact has had no activity.
Creation timestamp (RFC3339 UTC).
Last update timestamp (RFC3339 UTC).