API Version 2
The version 2 API is delivered through AWS Lambda and uses the sls-api.sheepcrm.com domain.
People Endpoints
Section titled “People Endpoints”The following endpoints are designed for access to the data of a single person contact.
Equity, Diversity and Inclusion (EDI)
Section titled “Equity, Diversity and Inclusion (EDI)”Policy: person.edi.detail
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/edi/detailAuthorization: Bearer $API_KEYPolicy: person.edi.summary
“Summary” hides the values, showing just whether the fields have been populated:
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/edi/summaryAuthorization: Bearer $API_KEYFinance
Section titled “Finance”Policy: person.finance.summary
“Summary” shows only recent past and immediate future payments:
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/finance/summaryAuthorization: Bearer $API_KEYPolicy: person.finance.all
“All” includes all payments and all financial external IDs:
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/finance/allAuthorization: Bearer $API_KEYGroups / Teams
Section titled “Groups / Teams”The list of all groups/teams that the person is a member of.
Policy: person.group.summary
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/group/summaryAuthorization: Bearer $API_KEYThe list of all groups/teams augmented with group data and available roles and status fields.
Policy: person.group.detail
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/group/detailAuthorization: Bearer $API_KEYHealth Data
Section titled “Health Data”Policy: person.health.detail
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/health/detailAuthorization: Bearer $API_KEYPolicy: person.health.summary
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/health/summaryAuthorization: Bearer $API_KEYSessions
Section titled “Sessions”Person Session Summary is a list of attendance records for the person within a recent time window (typically 45 days before and 45 days after today).
| Parameter | Description |
|---|---|
limit | The number of sessions to return. Default is 7. |
Policy: person.session.summary
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/session/summaryAuthorization: Bearer $API_KEYPolicy: person.session.detail
Person Session Detail includes empty sessions for bookings linked to segments or groups that this person belongs to:
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/session/detailAuthorization: Bearer $API_KEYPolicy: person.session.all
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/session/allAuthorization: Bearer $API_KEYFuture sessions only:
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/session/futureAuthorization: Bearer $API_KEYPast sessions only:
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/session/pastAuthorization: Bearer $API_KEYVehicles
Section titled “Vehicles”Policy: person.vehicles.all
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/vehicles/allAuthorization: Bearer $API_KEYVehicle detail augments the stored data with live data from DVLA.
Policy: person.vehicles.detail
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/person/{uid}/vehicles/detailAuthorization: Bearer $API_KEYOrganisation Endpoints
Section titled “Organisation Endpoints”The following endpoints are designed for access to the data of a single organisation contact.
Summary Data
Section titled “Summary Data”Policy: organisation.summary
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/organisation/{uid}/summaryAuthorization: Bearer $API_KEYGroup Endpoints
Section titled “Group Endpoints”Policy: group
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/group/Authorization: Bearer $API_KEYPolicy: group.all
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/group/allAuthorization: Bearer $API_KEYGroup Members
Section titled “Group Members”| Parameter | Description |
|---|---|
expansions | open_tasks — include the number of open tasks per group member. |
status | Filter group members by status. |
Policy: group.members
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/group/{uid}/members/allAuthorization: Bearer $API_KEYSessions Summary for a Group
Section titled “Sessions Summary for a Group”Bookings plus/minus 90 days with a summary of session attendance.
Policy: group.session.summary
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/group/{uid}/session/summaryAuthorization: Bearer $API_KEYSegments
Section titled “Segments”Policy: segment
All active segments:
GET https://sls-api.sheepcrm.com/segments/v2/{bucket}/segments/Authorization: Bearer $API_KEYPolicy: segment.all
All segments (active and inactive):
GET https://sls-api.sheepcrm.com/segments/v2/{bucket}/segments/all/Authorization: Bearer $API_KEYPolicy: segment
All active segments for a view context:
GET https://sls-api.sheepcrm.com/segments/v2/{bucket}/segments/{view_context}/Authorization: Bearer $API_KEYSystem / User
Section titled “System / User”User Permissions
Section titled “User Permissions”Returns the user permissions for your user:
GET https://sls-api.sheepcrm.com/api/v2/{bucket}/user/permissionsAuthorization: Bearer $API_KEYAdditional Endpoints
Section titled “Additional Endpoints”The following endpoints are available but not yet fully documented:
| Endpoint | Description |
|---|---|
GET /api/v2/{bucket}/find/person | Find a person contact. |
GET /api/v2/{bucket}/{resource_type}/{uid}/display | Get the display value for a resource. |
GET /api/v2/{bucket}/{resource_type}/{uid}/image/{field}/{style} | Get an image for a resource field. |