The Contact object
Every contacts endpoint returns a Contact object or an array of Contact objects.Unique identifier for the contact, prefixed with
con_.The contact’s phone number in E.164 format (for example,
+14155552671).The contact’s display name.
The contact’s email address.
Array of tag strings used for segmentation and broadcast targeting.
The contact’s current lifecycle stage (for example,
lead, customer, churned).Key-value pairs for any custom attributes you have defined on your account.
ISO 8601 timestamp of when the contact was created.
ISO 8601 timestamp of the most recent update to the contact.
List contacts
GET /contacts
Returns a paginated list of contacts. Use query parameters to filter by tag or search by name or phone number.Page number to retrieve.
Number of contacts per page. Maximum is
100.Filter contacts that have this tag applied.
Search contacts by name or phone number. Partial matches are supported.
Create a contact
POST /contacts
Creates a new contact. The contact’s phone number must be unique within your account.Phone number in E.164 format (for example,
+14155552671). Must be unique within your account.Display name for the contact.
Email address for the contact.
Tags to assign to the contact. Creates tags that do not already exist.
Key-value pairs matching the custom fields defined in your Waply account settings.
Get a contact
GET /contacts/
Returns a single contact by its ID.The ID of the contact to retrieve.
Update a contact
PUT /contacts/
Updates an existing contact. Include only the fields you want to change — fields you omit retain their existing values.The ID of the contact to update.
Phone number in E.164 format.
Display name for the contact.
Email address for the contact.
Replaces the contact’s existing tags with this array.
Merges these key-value pairs into the contact’s existing custom fields.
Delete a contact
DELETE /contacts/
Permanently deletes a contact. This action cannot be undone. The contact’s conversation history is retained for audit purposes.The ID of the contact to delete.