Back to appHeyWAGet API key

Workspace

Add contacts to a list

POST/api/public/v1/lists/{list_id}/contacts

One contact or a contacts array, maximum 500 per request. Use the list ID from the list's URL (or from GET /lists). Phone is the only mandatory field.

Contacts are added to the list first, then each number is checked on WhatsApp (Yes/No results are shared across all lists in the workspace; numbers already checked are not re-checked). Contacts on WhatsApp are automatically enrolled in campaigns using this list; numbers not on WhatsApp stay in the list but are never messaged. Unchecked numbers are checked again before sending.

Authorizations

x-api-keystring· headerrequired

Your workspace API key from Settings. Keep it server-side.

Parameters

list_idstring (uuid)· pathrequired

Replace {list_id} with the list ID from the list URL or GET /lists.

contactsarray· body

Example: [{"phone":"+15551234567","first_name":"Ada","custom_fields":{"application_id":"A-1042"}}]

Response codes

200
Success
400
Invalid input
401
Missing, invalid or revoked API key
402
Inactive plan or quota exceeded
404
Resource not found
409
Campaign state or idempotency conflict
422
Launch requirements not satisfied
429
Rate limit exceeded; follow Retry-After
503
API setup required or temporarily unavailable

Rate limit: 300 requests/minute per key. Read endpoints return identifiers and operational metadata, not contact personal information or message content.