Status History
This information is for developers. If you're an agent looking for information on how to view a client's status history, check out our article on Viewing Client Data.
You can view not only the current status, but also all past statuses for a case. The endpoint looks like this:
GET /crm/statuses.json?statusable_id=&statusable_type=Crm::Case
Success: A 200 response with a json body.
Example Response:
[ { active: true, created_at: "2015-03-02T14:10:09-08:00", created_by_id: null, current: null, id: 169359, indicates_closed: true, sales_stage_id: null, status_type_category_id: 2, status_type_id: 164, status_type_name: "Withdrawn - Test Lead", statusable_id: 60564, statusable_type: "Crm::Case", system_task_id: null, updated_at: "2015-03-02T14:10:09-08:00", status_type: { color: "#00000", created_at: "2013-10-24T16:31:46-07:00", id: 164, indicates_closed: true, indicates_duplicate: false, indicates_test: true, is_for_policies: true, name: "Withdrawn - Test Lead", owner_id: 1, ownership_id: 1, sales_stage_id: 1, sort_order: 8, status_type_category_id: 2, updated_at: "2016-06-24T19:46:10-07:00", status_type_category: { id: 2, sales_stage_id: 1, has_own_timestamp: false, is_for_policies: true, name: "Attempting Contact" } } }, { active: false, created_at: "2015-03-02T13:56:24-08:00", created_by_id: null, current: null, id: 169341, indicates_closed: false, sales_stage_id: 1, status_type_category_id: 1, status_type_id: 125, status_type_name: "New Lead", statusable_id: 60564, statusable_type: "Crm::Case", system_task_id: null, updated_at: "2015-03-02T14:10:09-08:00", status_type: { color: "#CC0033", created_at: "2013-10-24T16:31:45-07:00", id: 125, indicates_closed: false, indicates_duplicate: false, indicates_test: false, is_for_policies: true, name: "New Lead", owner_id: 1, ownership_id: 1, sales_stage_id: 1, sort_order: 1, status_type_category_id: 1, updated_at: "2016-06-27T12:02:08-07:00", status_type_category: { id: 1, sales_stage_id: 1, has_own_timestamp: false, is_for_policies: true, name: "New Lead" } } } ]
Error: Any response other than 200.
You can find additional API documentation here: