Fetch list of all contacts

This API allows you to fetch the list of all contacts in contact group.

Sample Request

curl --request GET \
     --url https://api-smartflo.tatateleservices.com/v1/contacts \
     --header 'accept: application/json'

šŸ“˜ Important!

Before we begin, note that the * sign denotes the mandatory variables in each table.

Request Variables (Query Params)

The following parameter is required to fetch the list of all contacts in contact groups.

Variable NameDescriptionData Type
contact_idUnique id of the contact.string
contact_group_idUnique id of the contact group.string
updated_afterTime when it was last updated in the records.string
limitNumber of records to be fetched.string
pagePage number of the record.string

Sample Response

{
  "page": 1,
  "size": 10,
  "limit": 10,
  "results": [
    {
      "id": 59848243,
      "contact_group_id": 39663,
      "contact_group_name": "dd contact group",
      "phone_number": "+91xxxxxx2999",
      "name": "TESTER",
      "email_id": null,
      "address": null,
      "company_name": null,
      "custom_fields": [
        {
          "name": "Alternate Phone Number",
          "value": null
        }
      ],
      "created_at": "2024-05-08T12:45:03+0000",
      "updated_at": "2024-05-08T12:45:03+0000",
      "deleted_at": null
    },

Response Variables

The response returned is as following:

Variable NameDescriptionData Type
pageIndex of the page.Integer.
sizeSize of the record.
limitNumber of records fetched.Integer
results[].idUnique ID of the contact.String
results[].contact_group_idUnique ID of the contact group.String
results[].contact_group_nameName of the contact group.String
results[].phone_numberPhone number of the contact in the contact group.String
results[].nameName of the contact.String
results[].email_idEmail ID of the contact.String
results[].addressAddress of the contact.String
results[].company_nameCompany Name of the contact.String
results[].custom_fields[]If any, custom field is mapped with the contact in the contact group.Object
results[].created_atTime stamp when it was created.String
results[].updated_atTime stamp when it was last updated.String
results[].deleted_atTime stamp when it was deleted from the records, if deleted.String
Language
Click Try It! to start a request and see the response here!