Retrieve your system’s statuses, grouped. Group and status names are your system’s own.
GEThttps://secure-api.setshape.com/api/get/statuses/{crmid}
Replace
{crmid} with your CRM ID, the Shape system ID that belongs to your API key. Send the standard headers on every request: Authorization: YOUR_API_AUTHORIZATION_KEY and Content-Type: application/json. See Authentication.Example request
curl --request GET
--url "https://secure-api.setshape.com/api/get/statuses/YOUR_CRM_ID"
--header "Authorization: YOUR_API_AUTHORIZATION_KEY"
--header "Accept: application/json"
Example response
{
"message": "Statuses retrieved successfully",
"statuses": [
{
"id": 1,
"title": "Lead Status",
"status": [
{ "id": 101, "title": "New Lead" },
{ "id": 102, "title": "Contacted" }
]
},
{
"id": 2,
"title": "Loan Status",
"status": [
{ "id": 201, "title": "Application Received" }
]
}
]
}
Related routes
Main and sub-status lists are also available:
GET /get/main-statuses/{crmid}
GET /get/sub-statuses/{main_status_id}/{crmid}