WhatsApp Business API
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
List contacts
search, or filter by tag.
integer
default:"1"
Page number.
integer
default:"25"
Records per page.
string
Search by name or phone number.
string
Filter by tag name.
cURL
200 OK
Get contact
cURL
Create contact
tags and custom_attributes for filtering and campaign targeting. Returns 201 Created.
string
required
Phone number in E.164 format (e.g.
+919876543210).string
required
Contact name.
string[]
List of tag strings.
object
Arbitrary key/value metadata for the contact.
cURL
Update contact
200 OK.
string
Updated contact name.
string[]
Updated list of tag strings.
object
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
string
Unique contact identifier (UUID).
string
Your Vobiz account ID (
MA_XXXXXXXX).string
Phone number in E.164 format.
string
Contact name.
string[]
List of tags assigned to the contact.
object
Arbitrary key/value metadata.
string
Timestamp of the contact’s most recent activity (RFC3339 UTC). May be omitted if the contact has had no activity.
string
Creation timestamp (RFC3339 UTC).
string
Last update timestamp (RFC3339 UTC).