Skip to main content
POST
Create Type

Authorizations

Authorization
string
header
required

OAuth 2.0 bearer token obtained from POST /oauth2/token. Tokens expire after 30 minutes. Include in the Authorization header as Bearer {access_token}.

Body

application/x-www-form-urlencoded
capacity
string
Example:

"20"

event_id
string
Example:

"1"

exclude_from_event_capacity
enum<integer>

Set to 1 to ignore this registration type when calculating event capacity (for example staff), or 0 to count it. New registration types count towards capacity unless this is set.

Available options:
0,
1
Example:

0

name
string
Example:

"Sample Reg Type"

Response

201 - application/json

Create A Registrant Type

admin_short_name
unknown
capacity
string
Example:

"20"

created_at
string
Example:

"2023-05-17 10:15:53"

description
unknown
exclude_from_event_capacity
boolean

Whether this registration type is ignored when calculating event capacity (e.g. staff). Exclude these types when working out how much space is left in the event.

Example:

false

id
number
Example:

59

max_group_size
unknown
min_group_size
unknown
name
string
Example:

"Sample Reg Type"

public_short_name
unknown
sold_out_message
unknown
updated_at
string
Example:

"2023-05-17 10:15:53"