Download OpenAPI specification:Download
This documentation describes how to retrieve and update information relating to users.
Retrieve a paginated response of users.
The users in the response will be limited by your permissions and position within the organisation hierarchy.
q | string Example: q=John Search by display name, email, unique custom fields and id |
team | string Example: team=123,421,421 Filter by team id (comma separated list) |
teamlist | string Filter by a team list |
userlist | string Filter by a user list |
manager | string Example: manager=53543,53151,42121 Filter by manager id (comma separated list) |
supervisor | string Filter by supervisor id (comma separated list) |
age | string Enum: "organisation" "senior" Filter by age |
geojson_id | string Example: geojson_id=65568 Search by a geojson id |
lat | number Example: lat=51.500947 Search by latitude (requires long) |
long | number Example: long=-0.124619 Search by longitude (requires lat) |
distance | string Default: "20" Example: distance=50 Filter by distance (requires lat and long) |
view | string Enum: "volunteers" "non-volunteers" "applicants" "on-call" Filter by a specific view (default volunteer and non-volunteer) |
sids | string Example: sids=1,2 Filter by status ids (comma separated list) |
roles | string Example: roles=66554,7786 Filter by role profile ids (comma separated list) |
skills | string Example: skills=45,565,88 Filter by skill ids (comma separated list) |
langs | string Example: langs=654,163,35 Filter by language ids (comma separated list) |
has_email | boolean Example: has_email=true Filter by users who have an email address |
has_logged_in | boolean Filter by users who have logged into the system |
exclude_ids | string Example: exclude_ids=123,456 Comma separated list of user ids to exclude from the search |
include_inactive | boolean Default: false Determine if inactive users should be included in the search |
include_upcoming | boolean Default: false Determine if users who haven't started their primary role should be included |
active_on | string <date> Filter by users who are starting a role on or before a specific date |
logins | string Enum: "alltime" "recent" "period" Include login information against the users |
logins_only | string Enum: "alltime" "recent" Filter by logins only |
o | string Default: "d" Enum: "a" "d" Example: o=a Order the results. 'a' means ascending, 'd' for descending |
ids | string Example: ids=123123,65464,423432,87876 Filter by a comma separated list of user ids |
include | string Enum: "roles" "logins" "tasks" "recognitions" "favourites" "permissions" "permissionsDenied" "hasResponsibilities" "skills" "interests" "languages" "addresses" "phoneNumbers" "emergencyContacts" "emailAddresses" "attributes" "supervisors" "recruitmentApplications" "parentalConsent" "barcodes" "files" "personal_risk_assessment" Example: include=roles Available includes for a user (comma separated list). Note: |
cf_slug | string Example: cf_slug=external-reference-id Filter by a single custom field slug (used with cf_value) |
cf_value | string Example: cf_value=23654 Filter by a single custom field value (used with cf_slug) |
updated_after | string Example: updated_after=2023-03-01 09:00:00 Filter by user 'updated after' datetime. Filter also includes the current date time, consider the longer version of the logic 'updated at or after' |
updated_before | string Example: updated_before=2023-04-01 15:00:00 Filter by user 'updated before' datetime. Filter also includes the current date time, consider the longer version of the logic 'updated at or before' |
s | string Enum: "date" "name" "role" "status" "logins" "on-call-time" "location" "updated" "team" "manager" Example: s=date Sort the results by a provided field. Used in conjuntion with the 'o' (order) parameter, to specify ascending or descending order. If using 'logins', please also provide alltime|recent|period as a separate GET parameter, for example 'logins=recent' |
safeguarding | boolean Default: false Filter by users who are under safeguarding |
pending_role_consent | boolean Default: false Filter by users who are missing guardian consent on a role |
Array of objects | |
object |
{- "data": [
- {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "about_me": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Laoreet suspendisse interdum consectetur libero id faucibus nisl tincidunt eget.",
- "facebook": "john.smith",
- "twitter": "john.smith",
- "on_hold": "with-contact",
- "appear_in_directory": true,
- "appear_in_near_me": true,
- "is_volunteer": true,
- "is_non_volunteer": true,
- "is_system": true,
- "anonymised": null,
- "volunteer_for": "2 years",
- "on_call": true,
- "on_call_end": "2019-08-24T14:15:22Z",
- "first_name": "John",
- "last_name": "Smith",
- "username": "john.smith",
- "dob": "1985-01-01",
- "adult_at_risk": true,
- "preferred_name": "string",
- "on_hold_start": "string",
- "on_hold_end": "string",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}, - "is_minor": true,
- "start_date": "2020-01-01",
- "2fa_enabled": true,
- "2fa_disabled": true,
- "internal_email": "string",
- "flags": { },
- "accessibility_info": "string",
- "finance_ref": "string",
- "int_ref": "string",
- "personal_risk_assessment": {
- "id": 5982
}
}
], - "meta": {
- "pagination": {
- "total": "string",
- "count": "string",
- "per_page": "string",
- "current_page": "string",
- "total_pages": "string",
- "links": {
- "next": "string",
- "previous": "string"
}
}
}
}
Create a new user
first_name required | string The users first name |
last_name required | string The users last name |
dob | string The users date of birth (required if confirm_age is not present) |
adult_at_risk | boolean Determine if the user is an adult at risk |
password | string^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).+$ |
required | Array of objects |
Array of objects | |
Array of objects | |
send_password_reset_email | boolean Determine if we should send the password reset email to the user |
attributes | object User custom fields |
confirm_age | boolean Determine if the users age has been confirmed (if dob is not present) |
finance_ref | string or null The users finance reference |
int_ref | string or null The users internal reference |
id | integer The users unique identifier |
display_name | string Users preferred display name |
title | string Title of the user |
profile_photo_url | string <uri> Profile photo URL (signed url) |
can_manage | boolean Determine if the authenticated user can manage this user |
role_name | string or null The name of the users primary role |
team_name | string or null The teams name of the users primary role |
about_me | string or null The users bio |
string or null Facebook name | |
string or null Twitter name | |
website | string or null <uri> The users website link |
on_hold | string Enum: "with-contact" "without-contact" "access-suspended" On hold status |
appear_in_directory | boolean Determines if the user appears in the directory |
appear_in_near_me | boolean Determines if the user appears on the "near me" map |
is_volunteer | boolean Determine if the user has a volunteer role |
is_non_volunteer | boolean Determine if the user has a non-volunteer role |
is_system | boolean Determine if the user is a system user |
anonymised | string or null <date-time> The date/time the user was anonymised |
volunteer_for | string The amount of time the user has been a volunteer |
on_call | boolean Determine if the volunteer is on call |
on_call_end | string or null <date-time> The date and time the users is no longer on call |
first_name | string Users first name |
last_name | string Users last name |
username | string The users username |
dob | string <date> The users date of birth |
adult_at_risk | boolean Determine if the user is an adult at risk |
preferred_name | string The users preferred name |
on_hold_start | string or null |
on_hold_end | string |
object (UserStatus) | |
is_minor | boolean Determine if the user is a minor |
start_date | string <date> The users start date |
2fa_enabled | boolean |
2fa_disabled | boolean |
internal_email | string The users internal email address |
flags | object User flags |
accessibility_info | string The users accessibility and special requirements |
finance_ref | string or null The users finance reference |
int_ref | string or null The users internal reference |
object The users personal risk assessment file |
{- "first_name": "John",
- "last_name": "Smith",
- "dob": "1995-06-26",
- "adult_at_risk": true,
- "password": "SpaceApolloRocket1969",
- "roleProfiles": [
- {
- "role": {
- "id": 5423
}, - "team": {
- "id": 12321
}, - "manager": {
- "id": 5325
}, - "start": "2005-05-05",
- "end": "string",
- "custom_title": "string"
}
], - "phoneNumbers": [
- {
- "phone_number": "string",
- "primary": true,
- "type": "string"
}
], - "emailAddresses": [
- {
- "email": "string",
- "primary": 1
}
], - "send_password_reset_email": true,
- "attributes": { },
- "confirm_age": true,
- "finance_ref": "string",
- "int_ref": "string"
}
{- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "about_me": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Laoreet suspendisse interdum consectetur libero id faucibus nisl tincidunt eget.",
- "facebook": "john.smith",
- "twitter": "john.smith",
- "on_hold": "with-contact",
- "appear_in_directory": true,
- "appear_in_near_me": true,
- "is_volunteer": true,
- "is_non_volunteer": true,
- "is_system": true,
- "anonymised": null,
- "volunteer_for": "2 years",
- "on_call": true,
- "on_call_end": "2019-08-24T14:15:22Z",
- "first_name": "John",
- "last_name": "Smith",
- "username": "john.smith",
- "dob": "1985-01-01",
- "adult_at_risk": true,
- "preferred_name": "string",
- "on_hold_start": "string",
- "on_hold_end": "string",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}, - "is_minor": true,
- "start_date": "2020-01-01",
- "2fa_enabled": true,
- "2fa_disabled": true,
- "internal_email": "string",
- "flags": { },
- "accessibility_info": "string",
- "finance_ref": "string",
- "int_ref": "string",
- "personal_risk_assessment": {
- "id": 5982
}
}
Retrieve detailed information for a specific user
userId required | string Example: 234523 Users ID |
include | string Enum: "roles" "logins" "tasks" "recognitions" "favourites" "permissions" "permissionsDenied" "hasResponsibilities" "skills" "interests" "languages" "addresses" "phoneNumbers" "emergencyContacts" "emailAddresses" "attributes" "supervisors" "recruitmentApplications" "parentalConsent" "barcodes" "files" "personal_risk_assessment" Example: include=roles Available includes for a user (comma separated list). Note: |
id | integer The users unique identifier |
display_name | string Users preferred display name |
title | string Title of the user |
profile_photo_url | string <uri> Profile photo URL (signed url) |
can_manage | boolean Determine if the authenticated user can manage this user |
role_name | string or null The name of the users primary role |
team_name | string or null The teams name of the users primary role |
about_me | string or null The users bio |
string or null Facebook name | |
string or null Twitter name | |
website | string or null <uri> The users website link |
on_hold | string Enum: "with-contact" "without-contact" "access-suspended" On hold status |
appear_in_directory | boolean Determines if the user appears in the directory |
appear_in_near_me | boolean Determines if the user appears on the "near me" map |
is_volunteer | boolean Determine if the user has a volunteer role |
is_non_volunteer | boolean Determine if the user has a non-volunteer role |
is_system | boolean Determine if the user is a system user |
anonymised | string or null <date-time> The date/time the user was anonymised |
volunteer_for | string The amount of time the user has been a volunteer |
on_call | boolean Determine if the volunteer is on call |
on_call_end | string or null <date-time> The date and time the users is no longer on call |
first_name | string Users first name |
last_name | string Users last name |
username | string The users username |
dob | string <date> The users date of birth |
adult_at_risk | boolean Determine if the user is an adult at risk |
preferred_name | string The users preferred name |
on_hold_start | string or null |
on_hold_end | string |
object (UserStatus) | |
is_minor | boolean Determine if the user is a minor |
start_date | string <date> The users start date |
2fa_enabled | boolean |
2fa_disabled | boolean |
internal_email | string The users internal email address |
flags | object User flags |
accessibility_info | string The users accessibility and special requirements |
finance_ref | string or null The users finance reference |
int_ref | string or null The users internal reference |
object The users personal risk assessment file |
{- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "about_me": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Laoreet suspendisse interdum consectetur libero id faucibus nisl tincidunt eget.",
- "facebook": "john.smith",
- "twitter": "john.smith",
- "on_hold": "with-contact",
- "appear_in_directory": true,
- "appear_in_near_me": true,
- "is_volunteer": true,
- "is_non_volunteer": true,
- "is_system": true,
- "anonymised": null,
- "volunteer_for": "2 years",
- "on_call": true,
- "on_call_end": "2019-08-24T14:15:22Z",
- "first_name": "John",
- "last_name": "Smith",
- "username": "john.smith",
- "dob": "1985-01-01",
- "adult_at_risk": true,
- "preferred_name": "string",
- "on_hold_start": "string",
- "on_hold_end": "string",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}, - "is_minor": true,
- "start_date": "2020-01-01",
- "2fa_enabled": true,
- "2fa_disabled": true,
- "internal_email": "string",
- "flags": { },
- "accessibility_info": "string",
- "finance_ref": "string",
- "int_ref": "string",
- "personal_risk_assessment": {
- "id": 5982
}
}
Update an existing users information
userId required | string Example: 234523 Users ID |
id | integer The users unique identifier |
title | string Title of the user |
can_manage | boolean Determine if the authenticated user can manage this user |
about_me | string or null The users bio |
string or null Facebook name | |
string or null Twitter name | |
website | string or null <uri> The users website link |
appear_in_directory | boolean Determines if the user appears in the directory |
appear_in_near_me | boolean Determines if the user appears on the "near me" map |
on_call | boolean Determine if the volunteer is on call |
on_call_end | string or null <date-time> The date and time the users is no longer on call |
first_name | string Users first name |
last_name | string Users last name |
dob | string <date> The users date of birth |
adult_at_risk | boolean Determine if the user is an adult at risk |
preferred_name | string The users preferred name |
on_hold_start | string or null |
on_hold_end | string |
object (UserStatus) | |
start_date | string <date> The users start date |
2fa_disabled | boolean |
accessibility_info | string The users accessibility and special requirements |
finance_ref | string or null The users finance reference |
int_ref | string or null The users internal reference |
object The users personal risk assessment file |
id | integer The users unique identifier |
display_name | string Users preferred display name |
title | string Title of the user |
profile_photo_url | string <uri> Profile photo URL (signed url) |
can_manage | boolean Determine if the authenticated user can manage this user |
role_name | string or null The name of the users primary role |
team_name | string or null The teams name of the users primary role |
about_me | string or null The users bio |
string or null Facebook name | |
string or null Twitter name | |
website | string or null <uri> The users website link |
on_hold | string Enum: "with-contact" "without-contact" "access-suspended" On hold status |
appear_in_directory | boolean Determines if the user appears in the directory |
appear_in_near_me | boolean Determines if the user appears on the "near me" map |
is_volunteer | boolean Determine if the user has a volunteer role |
is_non_volunteer | boolean Determine if the user has a non-volunteer role |
is_system | boolean Determine if the user is a system user |
anonymised | string or null <date-time> The date/time the user was anonymised |
volunteer_for | string The amount of time the user has been a volunteer |
on_call | boolean Determine if the volunteer is on call |
on_call_end | string or null <date-time> The date and time the users is no longer on call |
first_name | string Users first name |
last_name | string Users last name |
username | string The users username |
dob | string <date> The users date of birth |
adult_at_risk | boolean Determine if the user is an adult at risk |
preferred_name | string The users preferred name |
on_hold_start | string or null |
on_hold_end | string |
object (UserStatus) | |
is_minor | boolean Determine if the user is a minor |
start_date | string <date> The users start date |
2fa_enabled | boolean |
2fa_disabled | boolean |
internal_email | string The users internal email address |
flags | object User flags |
accessibility_info | string The users accessibility and special requirements |
finance_ref | string or null The users finance reference |
int_ref | string or null The users internal reference |
object The users personal risk assessment file |
{- "id": 46485,
- "title": "Mr",
- "can_manage": true,
- "about_me": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Laoreet suspendisse interdum consectetur libero id faucibus nisl tincidunt eget.",
- "facebook": "john.smith",
- "twitter": "john.smith",
- "appear_in_directory": true,
- "appear_in_near_me": true,
- "on_call": true,
- "on_call_end": "2019-08-24T14:15:22Z",
- "first_name": "John",
- "last_name": "Smith",
- "dob": "1985-01-01",
- "adult_at_risk": true,
- "preferred_name": "string",
- "on_hold_start": "string",
- "on_hold_end": "string",
- "status": { },
- "start_date": "2020-01-01",
- "2fa_disabled": true,
- "accessibility_info": "string",
- "finance_ref": "string",
- "int_ref": "string",
- "personal_risk_assessment": {
- "id": 5982
}
}
{- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "about_me": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Laoreet suspendisse interdum consectetur libero id faucibus nisl tincidunt eget.",
- "facebook": "john.smith",
- "twitter": "john.smith",
- "on_hold": "with-contact",
- "appear_in_directory": true,
- "appear_in_near_me": true,
- "is_volunteer": true,
- "is_non_volunteer": true,
- "is_system": true,
- "anonymised": null,
- "volunteer_for": "2 years",
- "on_call": true,
- "on_call_end": "2019-08-24T14:15:22Z",
- "first_name": "John",
- "last_name": "Smith",
- "username": "john.smith",
- "dob": "1985-01-01",
- "adult_at_risk": true,
- "preferred_name": "string",
- "on_hold_start": "string",
- "on_hold_end": "string",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}, - "is_minor": true,
- "start_date": "2020-01-01",
- "2fa_enabled": true,
- "2fa_disabled": true,
- "internal_email": "string",
- "flags": { },
- "accessibility_info": "string",
- "finance_ref": "string",
- "int_ref": "string",
- "personal_risk_assessment": {
- "id": 5982
}
}
A user can be associated with many roles. Their role will determine a lot about them such as their type (i.e volunteer or non-volunteer), permission group and training.
A role association will also contain extra information about their role such as the start date, manager, team and custom title.
Retrieve a paginated response of role associations
userId required | string User ID |
include | string Enum: "disclosure_type" "vetting" "family" Example: include=vetting Available includes for a user role association (comma separated list) |
Array of objects (UserRoleAssociation) | |
object |
{- "data": [
- {
- "id": 3253,
- "name": "Volunteer v1",
- "display_name": "Volunteer",
- "primary": true,
- "team": {
- "id": "3521",
- "display_name": "Headquarters",
- "parent_id": 1424,
- "name": "Headquarters",
- "description": "string",
- "geo_location": "string",
- "catchment_area_id": "string",
- "icon": "fa fa-building",
- "show_on_public_site": false,
- "show_on_near_me_map": false,
- "ceiling_enabled": false,
- "hidden": false,
- "disabled": false,
- "external_reference": "string"
}, - "type": "volunteer",
- "leaving_form_required": true,
- "review_submitted_at": "2019-08-24T14:15:22Z",
- "left_org": true,
- "would_you_like_to_have_back": true,
- "would_you_recommend_to_organisation": true,
- "reference": "string",
- "leaving_reason": {
- "id": 242,
- "reason": "Volunteer role ended",
- "volunteer_selectable": true
}, - "feedback": "string",
- "recommend_organisation": true,
- "custom_title": "Volunteer Champion",
- "start": "2020-01-06",
- "end": "string",
- "manager": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "vetting": {
- "id": 0
}, - "recruitment_category": {
- "id": 12412,
- "name": "Full",
- "stages": [
- {
- "id": 21412,
- "name": "Application",
- "display_name": "Applied",
- "actions": [
- {
- "id": 421421,
- "name": "string",
- "action_stage_id": 0,
- "settings": { }
}
]
}
]
}, - "permission_group": {
- "id": 0,
- "name": "string",
- "description": "string"
}
}
], - "meta": {
- "pagination": {
- "total": "string",
- "count": "string",
- "per_page": "string",
- "current_page": "string",
- "total_pages": "string",
- "links": {
- "next": "string",
- "previous": "string"
}
}
}
}
Associate an existing role profile with a user
userId required | string User ID |
required | object |
required | object |
required | object Role named manager |
start required | string <date> Role start date |
primary | boolean Default: false Determine if this role is the users primary role |
custom_title | string Role custom title |
object (UserRoleAssociation) |
{- "role": {
- "id": 241
}, - "team": {
- "id": 45541
}, - "manager": {
- "id": 222432
}, - "start": "2020-01-01",
- "primary": false,
- "custom_title": "Volunteer Champion"
}
{- "data": {
- "id": 3253,
- "name": "Volunteer v1",
- "display_name": "Volunteer",
- "primary": true,
- "team": {
- "id": "3521",
- "display_name": "Headquarters",
- "parent_id": 1424,
- "name": "Headquarters",
- "description": "string",
- "geo_location": "string",
- "catchment_area_id": "string",
- "icon": "fa fa-building",
- "show_on_public_site": false,
- "show_on_near_me_map": false,
- "ceiling_enabled": false,
- "hidden": false,
- "disabled": false,
- "external_reference": "string"
}, - "type": "volunteer",
- "leaving_form_required": true,
- "review_submitted_at": "2019-08-24T14:15:22Z",
- "left_org": true,
- "would_you_like_to_have_back": true,
- "would_you_recommend_to_organisation": true,
- "reference": "string",
- "leaving_reason": {
- "id": 242,
- "reason": "Volunteer role ended",
- "volunteer_selectable": true
}, - "feedback": "string",
- "recommend_organisation": true,
- "custom_title": "Volunteer Champion",
- "start": "2020-01-06",
- "end": "string",
- "manager": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "vetting": {
- "id": 0
}, - "recruitment_category": {
- "id": 12412,
- "name": "Full",
- "stages": [
- {
- "id": 21412,
- "name": "Application",
- "display_name": "Applied",
- "actions": [
- {
- "id": 421421,
- "name": "string",
- "action_stage_id": 0,
- "settings": { }
}
]
}
]
}, - "permission_group": {
- "id": 0,
- "name": "string",
- "description": "string"
}
}
}
Update a users role association
userId required | string User ID |
associationId required | string Role association ID |
object | |
feedback | string |
recommend_organisation | integer |
notify_manager | boolean |
unsuitable | boolean |
object | |
primary | integer Determine if this is the users primary role |
object | |
start | string Role start date |
end | string Role end date |
object | |
custom_title | string Role custom title |
object (UserRoleAssociation) |
{- "leaving_reason": {
- "id": 0
}, - "feedback": "string",
- "recommend_organisation": 0,
- "notify_manager": true,
- "unsuitable": true,
- "vetting": {
- "id": 0
}, - "primary": 0,
- "team": {
- "id": 0
}, - "start": "string",
- "end": "string",
- "manager": {
- "id": 0
}, - "custom_title": "string"
}
{- "data": {
- "id": 3253,
- "name": "Volunteer v1",
- "display_name": "Volunteer",
- "primary": true,
- "team": {
- "id": "3521",
- "display_name": "Headquarters",
- "parent_id": 1424,
- "name": "Headquarters",
- "description": "string",
- "geo_location": "string",
- "catchment_area_id": "string",
- "icon": "fa fa-building",
- "show_on_public_site": false,
- "show_on_near_me_map": false,
- "ceiling_enabled": false,
- "hidden": false,
- "disabled": false,
- "external_reference": "string"
}, - "type": "volunteer",
- "leaving_form_required": true,
- "review_submitted_at": "2019-08-24T14:15:22Z",
- "left_org": true,
- "would_you_like_to_have_back": true,
- "would_you_recommend_to_organisation": true,
- "reference": "string",
- "leaving_reason": {
- "id": 242,
- "reason": "Volunteer role ended",
- "volunteer_selectable": true
}, - "feedback": "string",
- "recommend_organisation": true,
- "custom_title": "Volunteer Champion",
- "start": "2020-01-06",
- "end": "string",
- "manager": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "vetting": {
- "id": 0
}, - "recruitment_category": {
- "id": 12412,
- "name": "Full",
- "stages": [
- {
- "id": 21412,
- "name": "Application",
- "display_name": "Applied",
- "actions": [
- {
- "id": 421421,
- "name": "string",
- "action_stage_id": 0,
- "settings": { }
}
]
}
]
}, - "permission_group": {
- "id": 0,
- "name": "string",
- "description": "string"
}
}
}
Delete a users role association.
You cannot delete the last role assocation from a user.
userId required | string User ID |
associationId required | string Role association ID |
{- "message": "Unauthorized action",
- "status_code": "403"
}
Retrieve a paginated response of user email addresses
userId required | string User ID |
Array of objects (UserEmailAddress) | |
object |
{- "data": [
- {
- "id": 534,
- "user_id": 435,
- "primary": 1,
- "email": "john.smith@example.com",
- "verification_required": false,
- "soft_bounces": 0,
- "hard_bounces": 0,
- "complaints": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "pagination": {
- "total": "string",
- "count": "string",
- "per_page": "string",
- "current_page": "string",
- "total_pages": "string",
- "links": {
- "next": "string",
- "previous": "string"
}
}
}
}
Create a new email address for a user
userId required | string User ID |
id | integer The unique ID of the UserEmailAddress record |
user_id | integer The associated Assemble user id |
primary required | integer [ 0 .. 1 ] Determine if this is the users primary email address |
email required | string The email address |
verification_required | boolean Default: false Whether a primary email address change is undergoing verification |
soft_bounces | integer Default: 0 Amount of times this email has soft bounced |
hard_bounces | integer Default: 0 Amount of times this email has hard bounced |
complaints | integer Default: 0 Amount of times this email has complained |
object (UserEmailAddress) |
{- "id": 534,
- "user_id": 435,
- "primary": 1,
- "email": "john.smith@example.com",
- "verification_required": false,
- "soft_bounces": 0,
- "hard_bounces": 0,
- "complaints": 0
}
{- "data": {
- "id": 534,
- "user_id": 435,
- "primary": 1,
- "email": "john.smith@example.com",
- "verification_required": false,
- "soft_bounces": 0,
- "hard_bounces": 0,
- "complaints": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Retrieve a specific user email address information
userId required | string User ID |
addressId required | string Email address ID |
object (UserEmailAddress) |
{- "data": {
- "id": 534,
- "user_id": 435,
- "primary": 1,
- "email": "john.smith@example.com",
- "verification_required": false,
- "soft_bounces": 0,
- "hard_bounces": 0,
- "complaints": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Update a specific email address
userId required | string User ID |
addressId required | string Email address ID |
id | integer The unique ID of the UserEmailAddress record |
user_id | integer The associated Assemble user id |
primary required | integer [ 0 .. 1 ] Determine if this is the users primary email address |
email required | string The email address |
verification_required | boolean Default: false Whether a primary email address change is undergoing verification |
soft_bounces | integer Default: 0 Amount of times this email has soft bounced |
hard_bounces | integer Default: 0 Amount of times this email has hard bounced |
complaints | integer Default: 0 Amount of times this email has complained |
object (UserEmailAddress) |
{- "id": 534,
- "user_id": 435,
- "primary": 1,
- "email": "john.smith@example.com",
- "verification_required": false,
- "soft_bounces": 0,
- "hard_bounces": 0,
- "complaints": 0
}
{- "data": {
- "id": 534,
- "user_id": 435,
- "primary": 1,
- "email": "john.smith@example.com",
- "verification_required": false,
- "soft_bounces": 0,
- "hard_bounces": 0,
- "complaints": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Delete a users email address.
You cannot delete a primary email address.
userId required | string User ID |
addressId required | string Email address ID |
{- "message": "Unauthorized action",
- "status_code": "403"
}
Retrieve a paginated response of postal addresses
userId required | string |
primary | boolean Filter by primary address |
trashed | boolean Include deleted addresses |
Array of objects (UserAddress) | |
object |
{- "data": [
- {
- "id": 353,
- "user_id": "32532",
- "type": "Work",
- "primary": true,
- "from_date": "2019-08-24",
- "company_name": "string",
- "street": "11 Downing St",
- "street_second": "string",
- "street_third": "string",
- "city": "London",
- "county": "Westminster",
- "postcode": "SW1A 2AB",
- "country": "United Kingdom",
- "address": "11 Downing St, Westminster, London SW1A 2AB",
- "lat": 51.503274,
- "long": -0.127822,
- "created_at": "string",
- "updated_at": "string"
}
], - "meta": {
- "pagination": {
- "total": "string",
- "count": "string",
- "per_page": "string",
- "current_page": "string",
- "total_pages": "string",
- "links": {
- "next": "string",
- "previous": "string"
}
}
}
}
Create a new postal address for a user
userId required | string |
id | integer The unique ID of the UserAddress record |
user_id | string The associated Assemble user id |
type required | string Enum: "Home" "Work" "Other" "Additional Address" |
primary required | boolean Determine if this address is the users primary address |
from_date | string or null <date> The date the user started living at this address |
company_name | string |
street required | string Address line 1 |
street_second | string Address line 2 |
street_third | string Address line 3 |
city required | string Address city |
county | string Address county |
postcode required | string Address postcode |
country required | string Address country |
address | string Full address details |
lat | number Latitude |
long | number Longitude |
created_at | string |
updated_at | string |
object (UserAddress) |
{- "id": 353,
- "user_id": "32532",
- "type": "Work",
- "primary": true,
- "from_date": "2019-08-24",
- "company_name": "string",
- "street": "11 Downing St",
- "street_second": "string",
- "street_third": "string",
- "city": "London",
- "county": "Westminster",
- "postcode": "SW1A 2AB",
- "country": "United Kingdom",
- "address": "11 Downing St, Westminster, London SW1A 2AB",
- "lat": 51.503274,
- "long": -0.127822,
- "created_at": "string",
- "updated_at": "string"
}
{- "data": {
- "id": 353,
- "user_id": "32532",
- "type": "Work",
- "primary": true,
- "from_date": "2019-08-24",
- "company_name": "string",
- "street": "11 Downing St",
- "street_second": "string",
- "street_third": "string",
- "city": "London",
- "county": "Westminster",
- "postcode": "SW1A 2AB",
- "country": "United Kingdom",
- "address": "11 Downing St, Westminster, London SW1A 2AB",
- "lat": 51.503274,
- "long": -0.127822,
- "created_at": "string",
- "updated_at": "string"
}
}
Retrieve a specific postal address information
userId required | string User ID |
postalAddressId required | string Postal address ID |
object (UserAddress) |
{- "data": {
- "id": 353,
- "user_id": "32532",
- "type": "Work",
- "primary": true,
- "from_date": "2019-08-24",
- "company_name": "string",
- "street": "11 Downing St",
- "street_second": "string",
- "street_third": "string",
- "city": "London",
- "county": "Westminster",
- "postcode": "SW1A 2AB",
- "country": "United Kingdom",
- "address": "11 Downing St, Westminster, London SW1A 2AB",
- "lat": 51.503274,
- "long": -0.127822,
- "created_at": "string",
- "updated_at": "string"
}
}
Update an existing postal address information
userId required | string User ID |
postalAddressId required | string Postal address ID |
id | integer The unique ID of the UserAddress record |
user_id | string The associated Assemble user id |
type required | string Enum: "Home" "Work" "Other" "Additional Address" |
primary required | boolean Determine if this address is the users primary address |
from_date | string or null <date> The date the user started living at this address |
company_name | string |
street required | string Address line 1 |
street_second | string Address line 2 |
street_third | string Address line 3 |
city required | string Address city |
county | string Address county |
postcode required | string Address postcode |
country required | string Address country |
address | string Full address details |
lat | number Latitude |
long | number Longitude |
created_at | string |
updated_at | string |
object (UserAddress) |
{- "id": 353,
- "user_id": "32532",
- "type": "Work",
- "primary": true,
- "from_date": "2019-08-24",
- "company_name": "string",
- "street": "11 Downing St",
- "street_second": "string",
- "street_third": "string",
- "city": "London",
- "county": "Westminster",
- "postcode": "SW1A 2AB",
- "country": "United Kingdom",
- "address": "11 Downing St, Westminster, London SW1A 2AB",
- "lat": 51.503274,
- "long": -0.127822,
- "created_at": "string",
- "updated_at": "string"
}
{- "data": {
- "id": 353,
- "user_id": "32532",
- "type": "Work",
- "primary": true,
- "from_date": "2019-08-24",
- "company_name": "string",
- "street": "11 Downing St",
- "street_second": "string",
- "street_third": "string",
- "city": "London",
- "county": "Westminster",
- "postcode": "SW1A 2AB",
- "country": "United Kingdom",
- "address": "11 Downing St, Westminster, London SW1A 2AB",
- "lat": 51.503274,
- "long": -0.127822,
- "created_at": "string",
- "updated_at": "string"
}
}
Delete a postal address.
You cannot delete a primary postal address.
userId required | string User ID |
postalAddressId required | string Postal address ID |
{- "message": "404 Not found",
- "status_code": "404"
}
Retrieve a paginated response of user emergency contacts
userId required | string |
primary | boolean Filter by primary emergency contact |
Array of objects (UserEmergencyContact) | |
object |
{- "data": [
- {
- "id": 3213,
- "user_id": 53252,
- "first_name": "John",
- "last_name": "Smith",
- "contact_number": "+447700900077",
- "relationship": "Husband",
- "primary": true
}
], - "meta": {
- "pagination": {
- "total": "string",
- "count": "string",
- "per_page": "string",
- "current_page": "string",
- "total_pages": "string",
- "links": {
- "next": "string",
- "previous": "string"
}
}
}
}
Create a new emergency contact for a user
userId required | string |
id | integer The unique ID of the UserEmergencyContact record |
user_id | integer The associated Assemble user id |
first_name required | string Emergency contact first name |
last_name required | string Emergency contact last name |
contact_number required | string Emergency contact phone number |
relationship required | string Emergency contact relationship |
primary required | boolean Determine if this is the users primary emergency contact |
object (UserEmergencyContact) |
{- "id": 3213,
- "user_id": 53252,
- "first_name": "John",
- "last_name": "Smith",
- "contact_number": "+447700900077",
- "relationship": "Husband",
- "primary": true
}
{- "data": {
- "id": 3213,
- "user_id": 53252,
- "first_name": "John",
- "last_name": "Smith",
- "contact_number": "+447700900077",
- "relationship": "Husband",
- "primary": true
}
}
Retrieve a specific emergency contact information
userId required | string User ID |
contactId required | string Emergency contact ID |
object (UserEmergencyContact) |
{- "data": {
- "id": 3213,
- "user_id": 53252,
- "first_name": "John",
- "last_name": "Smith",
- "contact_number": "+447700900077",
- "relationship": "Husband",
- "primary": true
}
}
Update an existing emergency contact information
userId required | string User ID |
contactId required | string Emergency contact ID |
id | integer The unique ID of the UserEmergencyContact record |
user_id | integer The associated Assemble user id |
first_name required | string Emergency contact first name |
last_name required | string Emergency contact last name |
contact_number required | string Emergency contact phone number |
relationship required | string Emergency contact relationship |
primary required | boolean Determine if this is the users primary emergency contact |
object (UserEmergencyContact) |
{- "id": 3213,
- "user_id": 53252,
- "first_name": "John",
- "last_name": "Smith",
- "contact_number": "+447700900077",
- "relationship": "Husband",
- "primary": true
}
{- "data": {
- "id": 3213,
- "user_id": 53252,
- "first_name": "John",
- "last_name": "Smith",
- "contact_number": "+447700900077",
- "relationship": "Husband",
- "primary": true
}
}
Delete a users emergency contact.
You cannot delete the last remaining emergency contact from a user.
userId required | string User ID |
contactId required | string Emergency contact ID |
{- "message": "Unauthorized action",
- "status_code": "403"
}
Retrieve a paginated response of user phone numbers
userId required | string User ID |
primary | boolean Filter by primary phone number |
Array of objects (UserPhoneNumber) | |
object |
{- "data": [
- {
- "id": 12312,
- "phone_number": "+447700900077",
- "type": "Mobile",
- "primary": true,
- "default_sms": true,
- "user_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "pagination": {
- "total": "string",
- "count": "string",
- "per_page": "string",
- "current_page": "string",
- "total_pages": "string",
- "links": {
- "next": "string",
- "previous": "string"
}
}
}
}
Create a new phone number for a user
userId required | string User ID |
id | integer The Unique ID of the UserPhoneNumber record |
phone_number required | string The phone number |
type required | string Enum: "Alternative Phone Number" "Home" "Mobile" "Work" The type of phone number |
primary required | boolean Determine if this is the users primary phone number |
default_sms required | boolean Determine if this is the users default SMS mobile number |
user_id | integer The associated users id |
created_at | string <date-time> |
updated_at | string <date-time> |
object (UserPhoneNumber) |
{- "id": 12312,
- "phone_number": "+447700900077",
- "type": "Mobile",
- "primary": true,
- "default_sms": true,
- "user_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
{- "data": {
- "id": 12312,
- "phone_number": "+447700900077",
- "type": "Mobile",
- "primary": true,
- "default_sms": true,
- "user_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Retrieve a specific user phone number
userId required | string User ID |
phoneNumberId required | string Phone number ID |
object (UserPhoneNumber) |
{- "data": {
- "id": 12312,
- "phone_number": "+447700900077",
- "type": "Mobile",
- "primary": true,
- "default_sms": true,
- "user_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Update an users phone number information
userId required | string User ID |
phoneNumberId required | string Phone number ID |
id | integer The Unique ID of the UserPhoneNumber record |
phone_number required | string The phone number |
type required | string Enum: "Alternative Phone Number" "Home" "Mobile" "Work" The type of phone number |
primary required | boolean Determine if this is the users primary phone number |
default_sms required | boolean Determine if this is the users default SMS mobile number |
user_id | integer The associated users id |
created_at | string <date-time> |
updated_at | string <date-time> |
object (UserPhoneNumber) |
{- "id": 12312,
- "phone_number": "+447700900077",
- "type": "Mobile",
- "primary": true,
- "default_sms": true,
- "user_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
{- "data": {
- "id": 12312,
- "phone_number": "+447700900077",
- "type": "Mobile",
- "primary": true,
- "default_sms": true,
- "user_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Retrieve a paginated response of user skills/interests/languages
userId required | string User ID |
Array of objects (UserSkill) |
{- "data": [
- {
- "id": 3242,
- "user_id": 532,
- "name": "Excel"
}
]
}
Update the users skills
userId required | string User ID |
skills | Array of integers Array of skill/interest/language ids |
Array of objects (UserSkill) | |
object |
{- "skills": [
- 123,
- 5353,
- 213,
- 66,
- 235,
- 242
]
}
{- "data": [
- {
- "id": 3242,
- "user_id": 532,
- "name": "Excel"
}
], - "meta": {
- "pagination": {
- "total": "string",
- "count": "string",
- "per_page": "string",
- "current_page": "string",
- "total_pages": "string",
- "links": {
- "next": "string",
- "previous": "string"
}
}
}
}
Retrieve a paginated response of the users supervisors.
Note: endpoint is available with "Custom supervisors" feature
userId required | string |
Array of objects (UserSupervisor) | |
object |
{- "data": [
- {
- "id": 431,
- "primary": true,
- "supervisor": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}
}
], - "meta": {
- "pagination": {
- "total": "string",
- "count": "string",
- "per_page": "string",
- "current_page": "string",
- "total_pages": "string",
- "links": {
- "next": "string",
- "previous": "string"
}
}
}
}
Associate an existing user as a supervisor
Note: endpoint is available with "Custom supervisors" feature
userId required | string |
object Supervisor user | |
primary | boolean Default: false Determine if this is the users primary supervisor |
object (UserSupervisor) |
{- "user": {
- "id": "1232"
}, - "primary": false
}
{- "data": {
- "id": 431,
- "primary": true,
- "supervisor": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}
}
}
Retrieve a specific supervisors information
Note: endpoint is available with "Custom supervisors" feature
userId required | string Users ID |
supervisorId required | string Supervisor Pivot ID |
object (UserSupervisor) |
{- "data": {
- "id": 431,
- "primary": true,
- "supervisor": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}
}
}
Update an existing user supervisor
Note: endpoint is available with "Custom supervisors" feature
userId required | string Users ID |
supervisorId required | string Supervisor Pivot ID |
primary | boolean Determine if this is the users primary supervisor |
object (UserSupervisor) |
{- "primary": true
}
{- "data": {
- "id": 431,
- "primary": true,
- "supervisor": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}
}
}
Remove an existing user as a supervisor
Note: endpoint is available with "Custom supervisors" feature
userId required | string Users ID |
supervisorId required | string Supervisor Pivot ID |
{- "message": "Unauthorized action",
- "status_code": "403"
}
Retrieve a pagianted response of user notes.
userId required | string |
q | string Search notes by title and content |
category | string Example: category=42,634,13 Filter by note category id (comma separated list) |
from | string Filter by a start date |
to | string Filter by an end date |
o | string Default: "desc" Enum: "asc" "desc" Example: o=asc Order the results |
Array of objects (UserNote) | |
object |
{- "data": [
- {
- "id": 53253,
- "subject": "Nunc id cursus metus aliquam eleifend mi",
- "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Id ornare arcu odio ut sem nulla pharetra. Posuere urna nec tincidunt praesent. Quam nulla porttitor massa id neque. Arcu bibendum at varius vel pharetra vel. Sed nisi lacus sed viverra tellus in hac habitasse. Nunc id cursus metus aliquam eleifend mi. Nisl purus in mollis nunc sed id semper. Vitae proin sagittis nisl rhoncus mattis rhoncus urna neque viverra. Dolor morbi non arcu risus quis varius quam quisque id. Malesuada pellentesque elit eget gravida cum sociis natoque penatibus et. At varius vel pharetra vel. Sed vulputate odio ut enim. Amet mauris commodo quis imperdiet massa. Condimentum lacinia quis vel eros. Scelerisque eleifend donec pretium vulputate sapien. Morbi non arcu risus quis varius. Amet commodo nulla facilisi nullam vehicula.",
- "private": true,
- "pinned": true,
- "created_by": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "category": {
- "id": 432,
- "name": "General / Other"
}, - "team": {
- "id": "3521",
- "display_name": "Headquarters"
}, - "sub_notes": [
- {
- "id": 3214,
- "body": "Ac odio tempor orci dapibus ultrices in. Sed nisi lacus sed viverra tellus in. Sem viverra aliquet eget sit amet tellus cras adipiscing enim. Pellentesque adipiscing commodo elit at",
- "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
], - "reminder": {
- "date": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "pagination": {
- "total": "string",
- "count": "string",
- "per_page": "string",
- "current_page": "string",
- "total_pages": "string",
- "links": {
- "next": "string",
- "previous": "string"
}
}
}
}
Create a new note against a specific user.
userId required | string |
id | integer The unique ID of the UserNote record |
subject | string The notes subject |
body | string The notes content |
private | boolean Determine if this note is marked as private |
pinned | boolean Determine if this note is pinned |
object (UserBase) | |
object (UserBase) | |
object (UserNoteCategory) | |
object (TeamBase) Basic team information | |
object |
object (UserNote) |
{- "id": 53253,
- "subject": "Nunc id cursus metus aliquam eleifend mi",
- "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Id ornare arcu odio ut sem nulla pharetra. Posuere urna nec tincidunt praesent. Quam nulla porttitor massa id neque. Arcu bibendum at varius vel pharetra vel. Sed nisi lacus sed viverra tellus in hac habitasse. Nunc id cursus metus aliquam eleifend mi. Nisl purus in mollis nunc sed id semper. Vitae proin sagittis nisl rhoncus mattis rhoncus urna neque viverra. Dolor morbi non arcu risus quis varius quam quisque id. Malesuada pellentesque elit eget gravida cum sociis natoque penatibus et. At varius vel pharetra vel. Sed vulputate odio ut enim. Amet mauris commodo quis imperdiet massa. Condimentum lacinia quis vel eros. Scelerisque eleifend donec pretium vulputate sapien. Morbi non arcu risus quis varius. Amet commodo nulla facilisi nullam vehicula.",
- "private": true,
- "pinned": true,
- "created_by": {
- "id": 46485,
- "title": "Mr",
- "can_manage": true,
- "status": { }
}, - "user": {
- "id": 46485,
- "title": "Mr",
- "can_manage": true,
- "status": { }
}, - "category": {
- "id": 432,
- "name": "General / Other"
}, - "team": {
- "id": "3521"
}, - "reminder": {
- "date": "2019-08-24T14:15:22Z"
}
}
{- "data": {
- "id": 53253,
- "subject": "Nunc id cursus metus aliquam eleifend mi",
- "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Id ornare arcu odio ut sem nulla pharetra. Posuere urna nec tincidunt praesent. Quam nulla porttitor massa id neque. Arcu bibendum at varius vel pharetra vel. Sed nisi lacus sed viverra tellus in hac habitasse. Nunc id cursus metus aliquam eleifend mi. Nisl purus in mollis nunc sed id semper. Vitae proin sagittis nisl rhoncus mattis rhoncus urna neque viverra. Dolor morbi non arcu risus quis varius quam quisque id. Malesuada pellentesque elit eget gravida cum sociis natoque penatibus et. At varius vel pharetra vel. Sed vulputate odio ut enim. Amet mauris commodo quis imperdiet massa. Condimentum lacinia quis vel eros. Scelerisque eleifend donec pretium vulputate sapien. Morbi non arcu risus quis varius. Amet commodo nulla facilisi nullam vehicula.",
- "private": true,
- "pinned": true,
- "created_by": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "category": {
- "id": 432,
- "name": "General / Other"
}, - "team": {
- "id": "3521",
- "display_name": "Headquarters"
}, - "sub_notes": [
- {
- "id": 3214,
- "body": "Ac odio tempor orci dapibus ultrices in. Sed nisi lacus sed viverra tellus in. Sem viverra aliquet eget sit amet tellus cras adipiscing enim. Pellentesque adipiscing commodo elit at",
- "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
], - "reminder": {
- "date": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
}
Retrieve information for a specific user note.
userId required | string |
noteId required | string |
object (UserNote) |
{- "data": {
- "id": 53253,
- "subject": "Nunc id cursus metus aliquam eleifend mi",
- "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Id ornare arcu odio ut sem nulla pharetra. Posuere urna nec tincidunt praesent. Quam nulla porttitor massa id neque. Arcu bibendum at varius vel pharetra vel. Sed nisi lacus sed viverra tellus in hac habitasse. Nunc id cursus metus aliquam eleifend mi. Nisl purus in mollis nunc sed id semper. Vitae proin sagittis nisl rhoncus mattis rhoncus urna neque viverra. Dolor morbi non arcu risus quis varius quam quisque id. Malesuada pellentesque elit eget gravida cum sociis natoque penatibus et. At varius vel pharetra vel. Sed vulputate odio ut enim. Amet mauris commodo quis imperdiet massa. Condimentum lacinia quis vel eros. Scelerisque eleifend donec pretium vulputate sapien. Morbi non arcu risus quis varius. Amet commodo nulla facilisi nullam vehicula.",
- "private": true,
- "pinned": true,
- "created_by": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "category": {
- "id": 432,
- "name": "General / Other"
}, - "team": {
- "id": "3521",
- "display_name": "Headquarters"
}, - "sub_notes": [
- {
- "id": 3214,
- "body": "Ac odio tempor orci dapibus ultrices in. Sed nisi lacus sed viverra tellus in. Sem viverra aliquet eget sit amet tellus cras adipiscing enim. Pellentesque adipiscing commodo elit at",
- "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
], - "reminder": {
- "date": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
}
Update a user note.
userId required | string |
noteId required | string |
id | integer The unique ID of the UserNote record |
subject | string The notes subject |
body | string The notes content |
private | boolean Determine if this note is marked as private |
pinned | boolean Determine if this note is pinned |
object (UserBase) | |
object (UserBase) | |
object (UserNoteCategory) | |
object (TeamBase) Basic team information | |
object |
object (UserNote) |
{- "id": 53253,
- "subject": "Nunc id cursus metus aliquam eleifend mi",
- "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Id ornare arcu odio ut sem nulla pharetra. Posuere urna nec tincidunt praesent. Quam nulla porttitor massa id neque. Arcu bibendum at varius vel pharetra vel. Sed nisi lacus sed viverra tellus in hac habitasse. Nunc id cursus metus aliquam eleifend mi. Nisl purus in mollis nunc sed id semper. Vitae proin sagittis nisl rhoncus mattis rhoncus urna neque viverra. Dolor morbi non arcu risus quis varius quam quisque id. Malesuada pellentesque elit eget gravida cum sociis natoque penatibus et. At varius vel pharetra vel. Sed vulputate odio ut enim. Amet mauris commodo quis imperdiet massa. Condimentum lacinia quis vel eros. Scelerisque eleifend donec pretium vulputate sapien. Morbi non arcu risus quis varius. Amet commodo nulla facilisi nullam vehicula.",
- "private": true,
- "pinned": true,
- "created_by": {
- "id": 46485,
- "title": "Mr",
- "can_manage": true,
- "status": { }
}, - "user": {
- "id": 46485,
- "title": "Mr",
- "can_manage": true,
- "status": { }
}, - "category": {
- "id": 432,
- "name": "General / Other"
}, - "team": {
- "id": "3521"
}, - "reminder": {
- "date": "2019-08-24T14:15:22Z"
}
}
{- "data": {
- "id": 53253,
- "subject": "Nunc id cursus metus aliquam eleifend mi",
- "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Id ornare arcu odio ut sem nulla pharetra. Posuere urna nec tincidunt praesent. Quam nulla porttitor massa id neque. Arcu bibendum at varius vel pharetra vel. Sed nisi lacus sed viverra tellus in hac habitasse. Nunc id cursus metus aliquam eleifend mi. Nisl purus in mollis nunc sed id semper. Vitae proin sagittis nisl rhoncus mattis rhoncus urna neque viverra. Dolor morbi non arcu risus quis varius quam quisque id. Malesuada pellentesque elit eget gravida cum sociis natoque penatibus et. At varius vel pharetra vel. Sed vulputate odio ut enim. Amet mauris commodo quis imperdiet massa. Condimentum lacinia quis vel eros. Scelerisque eleifend donec pretium vulputate sapien. Morbi non arcu risus quis varius. Amet commodo nulla facilisi nullam vehicula.",
- "private": true,
- "pinned": true,
- "created_by": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "category": {
- "id": 432,
- "name": "General / Other"
}, - "team": {
- "id": "3521",
- "display_name": "Headquarters"
}, - "sub_notes": [
- {
- "id": 3214,
- "body": "Ac odio tempor orci dapibus ultrices in. Sed nisi lacus sed viverra tellus in. Sem viverra aliquet eget sit amet tellus cras adipiscing enim. Pellentesque adipiscing commodo elit at",
- "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
], - "reminder": {
- "date": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
}
Create a sub note against an existing note
userId required | string |
noteId required | string |
id | integer The unique ID of the UserSubNote record |
body | string The sub note content |
object (UserBase) |
object (UserSubNote) |
{- "id": 3214,
- "body": "Ac odio tempor orci dapibus ultrices in. Sed nisi lacus sed viverra tellus in. Sem viverra aliquet eget sit amet tellus cras adipiscing enim. Pellentesque adipiscing commodo elit at",
- "user": {
- "id": 46485,
- "title": "Mr",
- "can_manage": true,
- "status": { }
}
}
{- "data": {
- "id": 3214,
- "body": "Ac odio tempor orci dapibus ultrices in. Sed nisi lacus sed viverra tellus in. Sem viverra aliquet eget sit amet tellus cras adipiscing enim. Pellentesque adipiscing commodo elit at",
- "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
}
Retrieve a pagainted response of touchpoints for a specific user.
userId required | string |
q | string Example: q=Training Search by subject and body |
type | string Example: type=42,634,13 Filter by touchpoint type id (comma separated list) |
archived | boolean Filter by archived touchpoints |
from | string Filter by a start date |
to | string Filter by an end date |
o | string Default: "d" Enum: "a" "d" Example: o=a Order the results |
s | string Default: "date" Value: "date" Example: s=date Order the results by a provided field |
Array of objects (Touchpoint) | |
object |
{- "data": [
- {
- "id": 0,
- "subject": "Eget mi proin sed libero enim sed faucibus",
- "body": "Urna cursus eget nunc scelerisque viverra mauris in aliquam. Id diam vel quam elementum. Ultrices sagittis orci a scelerisque purus semper.",
- "archived": true,
- "private": true,
- "start": "2019-08-24",
- "end": "2019-08-24",
- "duration": 60,
- "follow_up_date": "2019-08-24T14:15:22Z",
- "created_by": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "team": {
- "id": "3521",
- "display_name": "Headquarters"
}, - "type": {
- "id": 0,
- "name": "string",
- "icon": "string",
- "filterable": true,
- "has_file_upload": true,
- "has_duration": true,
- "has_subject": true,
- "has_comments": true,
- "has_date": true,
- "has_time": true,
- "has_follow_up_date": true,
- "has_team_checkbox": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sub_touchpoints": [
- {
- "id": 0,
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "attachments": [
- { }
], - "reminder": {
- "date": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "pagination": {
- "total": "string",
- "count": "string",
- "per_page": "string",
- "current_page": "string",
- "total_pages": "string",
- "links": {
- "next": "string",
- "previous": "string"
}
}
}
}
Add a new touchpoint against a user
userId required | string |
id | integer The unique ID of the Touchpoint record |
subject | string The touchpoints subject |
body | string The touchpoints content |
archived | boolean Determine if the touchpoint is archived |
private | boolean Determine if the touchpoint is private |
start | string <date> The touchpoints start date |
end | string <date> The touchpoints end date |
duration | integer The touchpoints duration (in minutes) |
follow_up_date | string <date-time> Follow up date and time |
object (UserBase) | |
object (UserBase) | |
object (TeamBase) Basic team information | |
object (TouchpointType) | |
Array of objects (SubTouchpoint) | |
attachments | Array of objects |
object |
object (Touchpoint) |
{- "id": 0,
- "subject": "Eget mi proin sed libero enim sed faucibus",
- "body": "Urna cursus eget nunc scelerisque viverra mauris in aliquam. Id diam vel quam elementum. Ultrices sagittis orci a scelerisque purus semper.",
- "archived": true,
- "private": true,
- "start": "2019-08-24",
- "end": "2019-08-24",
- "duration": 60,
- "follow_up_date": "2019-08-24T14:15:22Z",
- "created_by": {
- "id": 46485,
- "title": "Mr",
- "can_manage": true,
- "status": { }
}, - "user": {
- "id": 46485,
- "title": "Mr",
- "can_manage": true,
- "status": { }
}, - "team": {
- "id": "3521"
}, - "type": {
- "id": 0
}, - "sub_touchpoints": [
- {
- "body": "string"
}
], - "attachments": [
- { }
], - "reminder": {
- "date": "2019-08-24T14:15:22Z"
}
}
{- "data": {
- "id": 0,
- "subject": "Eget mi proin sed libero enim sed faucibus",
- "body": "Urna cursus eget nunc scelerisque viverra mauris in aliquam. Id diam vel quam elementum. Ultrices sagittis orci a scelerisque purus semper.",
- "archived": true,
- "private": true,
- "start": "2019-08-24",
- "end": "2019-08-24",
- "duration": 60,
- "follow_up_date": "2019-08-24T14:15:22Z",
- "created_by": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "team": {
- "id": "3521",
- "display_name": "Headquarters"
}, - "type": {
- "id": 0,
- "name": "string",
- "icon": "string",
- "filterable": true,
- "has_file_upload": true,
- "has_duration": true,
- "has_subject": true,
- "has_comments": true,
- "has_date": true,
- "has_time": true,
- "has_follow_up_date": true,
- "has_team_checkbox": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sub_touchpoints": [
- {
- "id": 0,
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "attachments": [
- { }
], - "reminder": {
- "date": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Retrieve information for a specific touchpoint
userId required | string |
touchpointId required | string |
object (Touchpoint) |
{- "data": {
- "id": 0,
- "subject": "Eget mi proin sed libero enim sed faucibus",
- "body": "Urna cursus eget nunc scelerisque viverra mauris in aliquam. Id diam vel quam elementum. Ultrices sagittis orci a scelerisque purus semper.",
- "archived": true,
- "private": true,
- "start": "2019-08-24",
- "end": "2019-08-24",
- "duration": 60,
- "follow_up_date": "2019-08-24T14:15:22Z",
- "created_by": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "team": {
- "id": "3521",
- "display_name": "Headquarters"
}, - "type": {
- "id": 0,
- "name": "string",
- "icon": "string",
- "filterable": true,
- "has_file_upload": true,
- "has_duration": true,
- "has_subject": true,
- "has_comments": true,
- "has_date": true,
- "has_time": true,
- "has_follow_up_date": true,
- "has_team_checkbox": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sub_touchpoints": [
- {
- "id": 0,
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "attachments": [
- { }
], - "reminder": {
- "date": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Update a touchpoints information
userId required | string |
touchpointId required | string |
id | integer The unique ID of the Touchpoint record |
subject | string The touchpoints subject |
body | string The touchpoints content |
archived | boolean Determine if the touchpoint is archived |
private | boolean Determine if the touchpoint is private |
start | string <date> The touchpoints start date |
end | string <date> The touchpoints end date |
duration | integer The touchpoints duration (in minutes) |
follow_up_date | string <date-time> Follow up date and time |
object (UserBase) | |
object (UserBase) | |
object (TeamBase) Basic team information | |
object (TouchpointType) | |
Array of objects (SubTouchpoint) | |
attachments | Array of objects |
object |
object (Touchpoint) |
{- "id": 0,
- "subject": "Eget mi proin sed libero enim sed faucibus",
- "body": "Urna cursus eget nunc scelerisque viverra mauris in aliquam. Id diam vel quam elementum. Ultrices sagittis orci a scelerisque purus semper.",
- "archived": true,
- "private": true,
- "start": "2019-08-24",
- "end": "2019-08-24",
- "duration": 60,
- "follow_up_date": "2019-08-24T14:15:22Z",
- "created_by": {
- "id": 46485,
- "title": "Mr",
- "can_manage": true,
- "status": { }
}, - "user": {
- "id": 46485,
- "title": "Mr",
- "can_manage": true,
- "status": { }
}, - "team": {
- "id": "3521"
}, - "type": {
- "id": 0
}, - "sub_touchpoints": [
- {
- "body": "string"
}
], - "attachments": [
- { }
], - "reminder": {
- "date": "2019-08-24T14:15:22Z"
}
}
{- "data": {
- "id": 0,
- "subject": "Eget mi proin sed libero enim sed faucibus",
- "body": "Urna cursus eget nunc scelerisque viverra mauris in aliquam. Id diam vel quam elementum. Ultrices sagittis orci a scelerisque purus semper.",
- "archived": true,
- "private": true,
- "start": "2019-08-24",
- "end": "2019-08-24",
- "duration": 60,
- "follow_up_date": "2019-08-24T14:15:22Z",
- "created_by": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "team": {
- "id": "3521",
- "display_name": "Headquarters"
}, - "type": {
- "id": 0,
- "name": "string",
- "icon": "string",
- "filterable": true,
- "has_file_upload": true,
- "has_duration": true,
- "has_subject": true,
- "has_comments": true,
- "has_date": true,
- "has_time": true,
- "has_follow_up_date": true,
- "has_team_checkbox": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sub_touchpoints": [
- {
- "id": 0,
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "attachments": [
- { }
], - "reminder": {
- "date": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Create a sub touchpoint against an existing touchpoint
userId required | string |
touchpointId required | string |
body | string |
object (SubTouchpoint) |
{- "body": "string"
}
{- "data": {
- "id": 0,
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Register a User webhook in Assemble
method required | string(created|updated|deleting) The method that should be registered |
event required | string Default: "created" |
user_id required | integer |
model required | string Default: "user" |
url required | string |
id | integer |
event | string |
model | string |
object (UserBase) | |
url | string |
created_at | string <date> |
deleted_at | string or null <date> |
{- "event": "created",
- "user_id": 0,
- "model": "user",
- "url": "string"
}
{- "id": 0,
- "event": "string",
- "model": "string",
- "user": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}, - "url": "string",
- "created_at": "2019-08-24",
- "deleted_at": "2019-08-24"
}
Retrieve a paginated response of the users supervisors.
Note: endpoint is available with "Custom supervisors" feature
userId required | string |
Array of objects (UserSupervisor) | |
object |
{- "data": [
- {
- "id": 431,
- "primary": true,
- "supervisor": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}
}
], - "meta": {
- "pagination": {
- "total": "string",
- "count": "string",
- "per_page": "string",
- "current_page": "string",
- "total_pages": "string",
- "links": {
- "next": "string",
- "previous": "string"
}
}
}
}
Associate an existing user as a supervisor
Note: endpoint is available with "Custom supervisors" feature
userId required | string |
object Supervisor user | |
primary | boolean Default: false Determine if this is the users primary supervisor |
object (UserSupervisor) |
{- "user": {
- "id": "1232"
}, - "primary": false
}
{- "data": {
- "id": 431,
- "primary": true,
- "supervisor": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}
}
}
Retrieve a specific supervisors information
Note: endpoint is available with "Custom supervisors" feature
userId required | string Users ID |
supervisorId required | string Supervisor Pivot ID |
object (UserSupervisor) |
{- "data": {
- "id": 431,
- "primary": true,
- "supervisor": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}
}
}
Update an existing user supervisor
Note: endpoint is available with "Custom supervisors" feature
userId required | string Users ID |
supervisorId required | string Supervisor Pivot ID |
primary | boolean Determine if this is the users primary supervisor |
object (UserSupervisor) |
{- "primary": true
}
{- "data": {
- "id": 431,
- "primary": true,
- "supervisor": {
- "id": 46485,
- "display_name": "John Smith",
- "title": "Mr",
- "can_manage": true,
- "role_name": "Volunteer",
- "team_name": "Kent",
- "status": {
- "id": "1",
- "name": "Active",
- "contactable": true
}
}
}
}
Remove an existing user as a supervisor
Note: endpoint is available with "Custom supervisors" feature
userId required | string Users ID |
supervisorId required | string Supervisor Pivot ID |
{- "message": "Unauthorized action",
- "status_code": "403"
}