Skip to content

Contacts

Contacts are the foundation of your communication system in SendMe123. Through these endpoints you can create, query, update and delete contacts efficiently.

The contact endpoints allow you to manage your entire contact database.

MethodEndpointDescription
GET/api/contactsGet paginated list of contacts
POST/api/contactsCreate a new contact
GET/api/contacts/{id}Get contact by ID
PATCH/api/contacts/{id}Update existing contact
DELETE/api/contacts/{id}Delete specific contact

Explore the available endpoints:

FieldTypeRequiredDescription
namestringYesContact name
phonestringYesPhone number (without prefix)
lastNamestringNoContact last name
emailstringNoEmail address
countryCodestringNoCountry code (e.g: “57”)
statusenumNoStatus: ACTIVE, INACTIVE, BLOCKED
birthDatedatetimeNoBirth date
tagIdsarrayNoAssociated tag IDs
customValuesobjectNoCustom fields
StatusDescription
ACTIVEActive contact (can receive messages)
INACTIVEInactive contact (temporarily paused)
BLOCKEDBlocked contact (cannot receive messages)
  • Phone: Must be a valid 10-digit number
  • Email: Must have valid format if provided
  • Name: Minimum 2 characters, maximum 100
  • countryCode: Must be a valid numeric code