Skip to main content
POST
Approve a volunteer

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Body

application/json
person_id
string
required
role_id
string
required
location_unit_id
string

Required for a location-scoped role, and refused for any other.

expires_at
string<date>

The last day it holds (YYYY-MM-DD). Leave it out for no expiry.

notes
string

Response

The approval, renewed.

id
string
required
person_id
string
required
role_id
string
required
approved_at
string<date-time>
required

When it was given, or last renewed.

is_live
boolean
required

Whether it is in force today: not withdrawn and not past its last day.

role_key
string | null
role_label
string | null
location_unit_id
string | null

Where the approval holds, for a location-scoped role.

location_name
string | null
approved_by
string | null

Who approved it: a person's record ID.

expires_at
string<date> | null

The last day it holds (YYYY-MM-DD). Null means it does not expire.

revoked_at
string<date-time> | null

When it was withdrawn.

notes
string | null
created_at
string<date-time>
updated_at
string<date-time>