Contacts

Create or update a contact

Upserts a contact by phone number: creates it when no contact with that number exists in the organization, otherwise updates the existing contact's name/email/metadata. The created flag in the response tells you which happened (201 on create, 200 on update).

post/v1/contacts

Request

  • Base URL: https://api.revdesk.com
  • URL: https://api.revdesk.com/v1/contacts
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

UUID — when present, deduplicates repeat submissions. See /api-reference/idempotency.

Request body

phone_numberstring required
namestring
emailstring
metadataobject
sms_consentboolean
sms_consent_sourcestring

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.