The roster, in the order entries were added
const url = 'https://app.grouperly.com/api/v2/groups/example/contacts?limit=50&type=ADULT';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://app.grouperly.com/api/v2/groups/example/contacts?limit=50&type=ADULT' \ --header 'Authorization: Bearer <token>'A key sees adults as a leader, and youth only as a count (Group.youthCount): no youth entries, none linked to a minor’s account, and no households (2.21.0).
Since 2.61.0, a key gets an adult’s contact details, birth date and custom fields only once they’ve confirmed their details in Grouperly; before that, their name, access, title and tags (#1092). An app acting as a person sees what that person would.
An app sees the roster as the signed-in person sees it in Grouperly: a member gets other people’s names, roles and tags, adults’ contact details only where the group shows them, and no birth dates or households. Youth are listed only with roster.youth.read (otherwise Group.youthCount says how many); include=guardians or dependents needs guardians.read and roster.youth.read.
For a sync, walk every page once, then ask with updatedSince for what changed.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The credential’s group
Query Parameters
Section titled “Query Parameters”Items per page
From the previous page’s nextCursor; opaque
ADULT or YOUTH (case-insensitive)
Only entries with this tag (exact)
Only entries changed at or after this time
Comma-separated related data to add: guardians, dependents. Anything else is a 400.
Responses
Section titled “Responses”OK
object
object
The name they go by, shown as Robert “Bobby” Smith (added in 2.47.0)
Jr., III (added in 2.47.0)
Mr., Dr. (added in 2.47.0). Null for a YOUTH contact unless the app has roster.youth.read; a key never gets youth (2.21.0).
Middle name (added in 2.47.0). Null for a YOUTH contact unless the app has roster.youth.read; a key never gets youth (2.21.0).
Email address. Null for a YOUTH contact unless the app has roster.youth.read; a key never gets youth (2.21.0).
Phone number as entered: their mobile. Null for a YOUTH contact unless the app has roster.youth.read; a key never gets youth (2.21.0).
Home phone, never texted (added in 2.47.0). Null for a YOUTH contact unless the app has roster.youth.read; a key never gets youth (2.21.0).
Work phone, never texted (added in 2.47.0). Null for a YOUTH contact unless the app has roster.youth.read; a key never gets youth (2.21.0).
Calendar date, e.g. “2014-05-06”. Null for a YOUTH contact unless the app has roster.youth.read; a key never gets youth (2.21.0).
What they may do in the group once they have an account: OWNER, ADMIN, MEMBER or VIEWER (role before 2.28.0)
Linked to a Grouperly account
The group’s custom fields on this entry that the caller may see (GET /field-definitions), by key, null where one isn’t set; a field it may not see isn’t here. Never a health form’s date for a key or a partner app (added in 2.34.0). Null for a YOUTH contact unless the app has roster.youth.read; a key never gets youth (2.21.0).
Present only with include=guardians.
object
Present only with include=dependents.
object
Pass as ?cursor= for the next page; null on the last page.
Example
{ "items": [ { "type": "ADULT", "access": "OWNER", "inviteStatus": "NOT_INVITED" } ]}Headers
Section titled “Headers”Requests allowed per minute for this credential
Requests left in this window
When the window ends (Unix seconds)
A query parameter is malformed or unknown (invalid_parameter, with parameter)
object
object
Stable and machine-readable: unauthorized, forbidden, insufficient_scope, key_owner_not_leader, app_not_installed, scope_not_allowed, app_suspended, rate_limited, not_found, invalid_parameter, invalid_body, invalid_profile, invalid_descriptor, no_profile, already_exists, not_a_member, wrong_holder, role_inactive, role_full, already_assigned, assignment_ended, version_not_current, nothing_to_pay, payments_not_ready, payload_too_large, first_party_only, terms_required, child_account, assistant_off, not_for_assistant, assistant_failed, not_a_draft, storage_full, made_from_roles, type_removed, invalid_reporting, led_by_role, unavailable, internal_error. New codes may be added.
For people; wording may change.
The query parameter (invalid_parameter) or body field (invalid_body, not_a_member, wrong_holder, invalid_reporting) at fault.
Examplegenerated
{ "error": { "code": "example", "message": "example", "parameter": "example" }}Headers
Section titled “Headers”Requests allowed per minute for this credential
Requests left in this window
When the window ends (Unix seconds)
Missing, unknown, revoked or expired credential (unauthorized)
object
object
Stable and machine-readable: unauthorized, forbidden, insufficient_scope, key_owner_not_leader, app_not_installed, scope_not_allowed, app_suspended, rate_limited, not_found, invalid_parameter, invalid_body, invalid_profile, invalid_descriptor, no_profile, already_exists, not_a_member, wrong_holder, role_inactive, role_full, already_assigned, assignment_ended, version_not_current, nothing_to_pay, payments_not_ready, payload_too_large, first_party_only, terms_required, child_account, assistant_off, not_for_assistant, assistant_failed, not_a_draft, storage_full, made_from_roles, type_removed, invalid_reporting, led_by_role, unavailable, internal_error. New codes may be added.
For people; wording may change.
The query parameter (invalid_parameter) or body field (invalid_body, not_a_member, wrong_holder, invalid_reporting) at fault.
Examplegenerated
{ "error": { "code": "example", "message": "example", "parameter": "example" }}A key: wrong group (forbidden), missing scope (insufficient_scope), or its creator no longer leads the group (key_owner_not_leader). An app’s token: missing scope (insufficient_scope), the group hasn’t installed the app (app_not_installed) or allowed the scope (scope_not_allowed, the message has the consent link), the person may not do this in the group (forbidden), Grouperly paused the app (app_suspended), the person hasn’t accepted Grouperly’s current Terms (terms_required: refresh their token, then send them to the hub’s /account/welcome), or it’s a child’s account (child_account). A viewer token: the same, and forbidden in any group but its own
object
object
Stable and machine-readable: unauthorized, forbidden, insufficient_scope, key_owner_not_leader, app_not_installed, scope_not_allowed, app_suspended, rate_limited, not_found, invalid_parameter, invalid_body, invalid_profile, invalid_descriptor, no_profile, already_exists, not_a_member, wrong_holder, role_inactive, role_full, already_assigned, assignment_ended, version_not_current, nothing_to_pay, payments_not_ready, payload_too_large, first_party_only, terms_required, child_account, assistant_off, not_for_assistant, assistant_failed, not_a_draft, storage_full, made_from_roles, type_removed, invalid_reporting, led_by_role, unavailable, internal_error. New codes may be added.
For people; wording may change.
The query parameter (invalid_parameter) or body field (invalid_body, not_a_member, wrong_holder, invalid_reporting) at fault.
Examplegenerated
{ "error": { "code": "example", "message": "example", "parameter": "example" }}Headers
Section titled “Headers”Requests allowed per minute for this credential
Requests left in this window
When the window ends (Unix seconds)
Rate limited (rate_limited)
object
object
Stable and machine-readable: unauthorized, forbidden, insufficient_scope, key_owner_not_leader, app_not_installed, scope_not_allowed, app_suspended, rate_limited, not_found, invalid_parameter, invalid_body, invalid_profile, invalid_descriptor, no_profile, already_exists, not_a_member, wrong_holder, role_inactive, role_full, already_assigned, assignment_ended, version_not_current, nothing_to_pay, payments_not_ready, payload_too_large, first_party_only, terms_required, child_account, assistant_off, not_for_assistant, assistant_failed, not_a_draft, storage_full, made_from_roles, type_removed, invalid_reporting, led_by_role, unavailable, internal_error. New codes may be added.
For people; wording may change.
The query parameter (invalid_parameter) or body field (invalid_body, not_a_member, wrong_holder, invalid_reporting) at fault.
Examplegenerated
{ "error": { "code": "example", "message": "example", "parameter": "example" }}Headers
Section titled “Headers”Requests allowed per minute for this credential
Requests left in this window
When the window ends (Unix seconds)
Seconds to wait
An app’s token for someone new, while Grouperly’s sign-in can’t be reached (unavailable); try again
object
object
Stable and machine-readable: unauthorized, forbidden, insufficient_scope, key_owner_not_leader, app_not_installed, scope_not_allowed, app_suspended, rate_limited, not_found, invalid_parameter, invalid_body, invalid_profile, invalid_descriptor, no_profile, already_exists, not_a_member, wrong_holder, role_inactive, role_full, already_assigned, assignment_ended, version_not_current, nothing_to_pay, payments_not_ready, payload_too_large, first_party_only, terms_required, child_account, assistant_off, not_for_assistant, assistant_failed, not_a_draft, storage_full, made_from_roles, type_removed, invalid_reporting, led_by_role, unavailable, internal_error. New codes may be added.
For people; wording may change.
The query parameter (invalid_parameter) or body field (invalid_body, not_a_member, wrong_holder, invalid_reporting) at fault.
Examplegenerated
{ "error": { "code": "example", "message": "example", "parameter": "example" }}