Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning
titleOnly available in v0.2.x

The following endpoint is currently unavailable. It will be released in version 1.2.x with the mobile applications.

Resource URL 

Returns the status object for a given contact

Code Block
GET /contacts/:id/status

Parameters

Table of allowed parameters.

_fieldspartial stringAllows you to specify optional fields and linked objects to include in the response.

Handling the response

Below is a table of available response fields and objects that are returned within the response object of the returned object. The optional fields and objects can be requested in the _fields parameter; see included examples. Underlined values are default.

idunsigned intA unique id for the status
titlestringThe status title
colorstringThe string representation of the color. e.g, red or green.
standingstringThe status standing. e.g, active or inactive.
startunsigned int 

Sample Response

Code Block
languagebash
GET /contacts/1/status.json
Code Block
languagejavascript
{
   "response" : {
      "title" : "Active",
      "id" : "3"
   },
   "meta" : {
      "status" : "ok",
      "message" : "Everything executed as expected."
   }
}