Skip to content

Add a volunteer role​

POST
/events/{id}/volunteer-roles

At most 30.

Authorizations​

BearerAuth

In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.

Type
HTTP (bearer)

Parameters​

Path Parameters

id*

The event's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"name": "string",
"description": "string",
"starts_at": "string",
"ends_at": "string",
"slots": 0,
"signup": "string",
"can_check_in": true,
"can_upload_photos": true,
"free_seat": true
}

Responses​

The role.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Built with VitePress