Skip to main content

Volunteers

This object represents a volunteer application within a convention.

Retrieve a user's volunteer record

Returns the volunteer object for the specified user.

Authentication

Service Integration with volunteer:read scope.

Response

idstring
The unique identifier of the volunteer record.
createdAtISO-8601 Date
The date the volunteer record was created.
updatedAtISO-8601 Date
The date the volunteer record was last updated.
contactMethodsArray of ContactMethod
Set of contact methods provided by the volunteer.
Show child attributes
namestring
The name of the contact method.
isPrimaryboolean
Whether this contact method is the preferred way of contacting the volunteer.
valuestring
An arbitrary string identifier for the contact method.
departmentsArray of DepartmentAssignment
Set of departments where the volunteer has expressed a preference or has an assignment.
Show child attributes
idstring
The unique identifier of the department.
statesArray of strings
The flags indicating the volunteer's preference or assignment for the department.
Possible values: experience, interest, avoid, assignment, request
namestring
The name of the department.
userUser
The user object for the volunteer.
Show child attributes
idstring
The unique identifier of the user.
firstNamestring
The first name of the user.
lastNamestring
The last name of the user.
usernamestring
The username of the user.
preferredNamestring (optional)
nullable
The preferred name of the user. If provided, this should be used instead of the first and last name, except where legally required.
phonestring
The phone number of the user in E.164 format.
emailstring
The email address of the user.
optionsArray of Option
A set of options, customized by the event, that contain arbitrary data provided by the volunteer.
Show child attributes
namestring
The name of the option as defined by the event.
typestring
The type of the option as defined by the event.
Possible values: select, multi, text, number.
valuenumber, string, or Array of string
The value of the option.
GET /api/v0/users/:id/volunteercURL
curl https://reg.cces.dev/api/v0/users/{id}/volunteer \
-H "Authorization: Bearer <token>"
Responseapplication/json
{
"id": "1234",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"contactMethods": [
{
"name": "discord",
"isPrimary": true,
"value": "Username#1234"
},
],
"departments": [
{
"id": "1234",
"states": ["experience", "interest"],
"name": "Registration"
},
{
"id": "5678",
"states": ["avoid"]
}
],
"user": {
"id": "1234",
"firstName": "John",
"lastName": "Doe",
"username": "jdoe",
"preferredName": "Johnny",
"phone": "+15555555555",
"email": "johnny.test@concat.systems",
},
"options": [
{
"name": "jump",
"type": "select",
"value": "How high?"
},
]
}