GET - Get all contact status

 

Purpose

Use this API to get all contact status.
 

Authorization

HeaderKey

Description

Authorization*

Zoho-oauthtoken<space><ACCESS_TOKEN>

Accept*

Set to application/json.

Request URL

Method: GET

https://voice.zoho.com/rest/json/zv/contacts/contact_status

Scope: zohovoice.contacts.READ

Sample Request

Copiedcurl "https://voice.zoho.com/rest/json/zv/contacts/<contact_id>" \
-X DELETE \
-H "Authorization:Zoho-oauthtoken *****"

Sample Response - Success

Copied{
  "code": "200",
  "contact_status": [
    {
      "display_value": "Active",
      "id": "1000000000027"
    },
    {
      "display_value": "In Active",
      "id": "1000000000029"
    },
    {
      "display_value": "VIP",
      "id": "1000000000031"
    }
  ],
  "status": "SUCCESS"
}

Sample Response - Error

Copied{
  "code": "<App Error Code>",
  "message": "<Error Message>",
  "status": "ERROR"
}