- style
GET /contacts/:id
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 | Â |
string | DEPRECATED Email belongs to the affiliation object. Please use affiliations for accessing email. | |
mobile | string | DEPRECATED Mobile belongs to the affiliation object. Please use affiliations for accessing mobile. |
title | string | Â |
middlename | string | Â |
standing | string | Â |
date_created | unix timestamp | Â |
date_modified | unix_timestamp | Â |
comments | string | Â |
status | unsigned int | The contact's status id. |
status(<args>) | object | The contact's status object with any optional fields. |
default_affiliation | unsigned int | The contact's default affiliation id. |
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 /contacts/1.json?_fields=status()
would return the status object, including any optional fields or objects within the parenthesis.