identifier does not exist, or update the existing contact when it does.
When a group ID or group
identifier is passed in group, the upsert only creates or updates a contact with that identifier within that group. If a contact with the same identifier already exists in a different group, it is not updated.Endpoint
Headers
| Header | Value |
|---|---|
Accept | application/json |
Authorization | Bearer {API_TOKEN} |
Content-Type | application/json |
Body parameters
Unique identifier for the contact. Used to match an existing record for update.
Group ID or group
identifier to assign the contact to. Use 0 for standalone.Contact name.
Contact email address.
Contact phone number.
Example payload
Response
Success Response
Contacts endpoints returnstatus: "success" when the operation completes. The details field indicates whether the contact was created or updated:
Contact created successfullyContact updated successfully
