Get Contact by ID
Query the details of a specific contact using its unique ID.
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.
Method | Endpoint | Description |
---|---|---|
GET | /api/contacts | Get paginated list of contacts |
POST | /api/contacts | Create 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:
Get Contact by ID
Query the details of a specific contact using its unique ID.
Update Contact
Modify the information of an existing contact.
Delete Contact
Permanently delete a contact from your database.
Field | Type | Required | Description |
---|---|---|---|
name | string | Yes | Contact name |
phone | string | Yes | Phone number (without prefix) |
lastName | string | No | Contact last name |
email | string | No | Email address |
countryCode | string | No | Country code (e.g: “57”) |
status | enum | No | Status: ACTIVE , INACTIVE , BLOCKED |
birthDate | datetime | No | Birth date |
tagIds | array | No | Associated tag IDs |
customValues | object | No | Custom fields |
Status | Description |
---|---|
ACTIVE | Active contact (can receive messages) |
INACTIVE | Inactive contact (temporarily paused) |
BLOCKED | Blocked contact (cannot receive messages) |