Contacts
GET Contact
Retrieve Contact with its ID
GET https://server.gallabox.com/devapi/accounts/{{accountId}}/contacts/{{contactId}}
Get Contact API will retrieve contact with name, phone, email, tags and fields
Path Parameters
Name
Type
Description
accountId*
String
Your account Id
contactId*
String
The unique id of the contact
{
    "id": "63b6435579516389fa99f2c4",
    "accountId": "6005ec415ddd71000432390d",
    "name": "Yogesh",
    "email": [
        "[email protected]"
    ],
    "phone": [
        "919840985909"
    ],
    "tags": [
        {
            "id": "6489bf949d9b90f72542db5c",
            "name": "Regex auto response"
        },
        {
            "id": "657d4dc97a73b9b0d7694396",
            "name": "Gallabox Employees"
        }
    ],
    "createdAt": "2023-01-05T03:26:13.929Z",
    "updatedAt": "2023-12-29T01:34:23.987Z",
    "contactOwnerId": "64759fad7c4f49288eec4ca5",
    "formattedPhone": [
        {
            "countryCode": "91",
            "phoneNumber": "9840985909"
        }
    ],
    "marketingOptIn": true
}Path Parameters
Name
Type
Description
accountId*
String
USSsFXcbiAa5
contactId*
String
35OctCksIhAX
POST Contact
Add new Contact
POST https://server.gallabox.com/devapi/accounts/{{accountId}}/contacts
Path Parameters
Name
Type
Description
accountId*
String
Your account Id
Request Body
Name
Type
Description
name*
String
Array
phone*
Array
tags
Array
Add new Contact
POST https://server.gallabox.com/devapi/accounts/{{accountId}}/contacts
Path Parameters
Name
Type
Description
accountId*
String
mYzzetA8QmGj
Request Body
Name
Type
Description
name*
String
JxEm4x7cHo27
Array
tU9zsdp4kV08
phone*
Array
kK5Ao6tVPD9Q
tags
Array
JVrZFKzXLCFP
Last updated