Skip to main content
GET
https://api.getmalakai.com/api/
/
api
/
contacts
Get All Contacts
curl --request GET \
  --url https://api.getmalakai.com/api/api/contacts \
  --header 'Authorization: <authorization>' \
  --header 'x-access-token: <x-access-token>'
{
    "responseCode": 2000,
    "message": "Contacts fetched successfully",
    "data": [
        {
            "id": "90d28d8d-3173-4434-8a32-bd2622131234",
            "user_id": "7xd23pd123",
            "contact_name": "",
            "contact_number": [
                "+12123123123"
            ],
            "contact_email": "",
            "tags": [
                "tag1",
                "tag2"
            ],
            "created_at": "2024-10-29T10:26:24.291Z",
            "updated_at": "2024-10-29T15:56:34.039Z"
        },
    ]
}

Headers

Authorization
string
required
Your API key for authentication. Prefix with Bearer .
x-access-token
string
required
Your access token for authentication.

Response

data
object[]
An array containing all contact objects.
data[].id
string
The unique identifier for the contact.
data[].contact_name
string
The full name of the contact.
data[].contact_email
string
The primary email address for the contact.
data[].contact_number
string[]
An array of phone numbers for the contact.
data[].tags
string[]
An array of tags associated with the contact.
{
    "responseCode": 2000,
    "message": "Contacts fetched successfully",
    "data": [
        {
            "id": "90d28d8d-3173-4434-8a32-bd2622131234",
            "user_id": "7xd23pd123",
            "contact_name": "",
            "contact_number": [
                "+12123123123"
            ],
            "contact_email": "",
            "tags": [
                "tag1",
                "tag2"
            ],
            "created_at": "2024-10-29T10:26:24.291Z",
            "updated_at": "2024-10-29T15:56:34.039Z"
        },
    ]
}