Only 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 a contact identified by contact id.
GET /contacts/:contact_id
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.
If you can't find the field you are after, you are probably thinking of an affiliation field. Please see the affiliation endpoints.
| id | unsigned int | A unique id assigned to the contact |
|---|---|---|
| firstname | string | |
| surname | string | |
| title | string | |
| middlename | string | |
| standing | string | |
| date_created | unix timestamp | |
| date_modified | unix_timestamp | |
| comments | string | |
| status | unsigned int | |
| status(<args>) | object | |
| default_affiliation_id | unsigned int |
Fields that can be object indicate the field can be requested as a resource. For example.
GET /contacts/1.json?_fields=status
would return the status id. Where as,
GET /milestones/1.json?_fields=status()
would return the status object, including any optional fields or objects within the parenthesis.