v8

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01421779.8 KB
Campaign

Creates a new role in a campaign.

post/campaign/{id}/role

Path parameters

idinteger required

Campaign ID

Request body

namestring
descriptionstring
{"stackTrail":"paths:/campaign/{id}/role:post:requestBody:content:application/json:schema:properties:min_available","oasType":"schema","type":"unknown","example":1}
{"stackTrail":"paths:/campaign/{id}/role:post:requestBody:content:application/json:schema:properties:max_available","oasType":"schema","type":"unknown","example":3}
finalisedboolean

Whether this role has been finalised (e.g. max available number)

Example request

{
  "name": "Chief Mouser",
  "description": "Larry the cat is dead, now we need someone else to handle the rat issues at 10th Downing st.",
  "min_available": 1,
  "max_available": 3
}

Response

OK

messagestring

Example response

{
  "message": "Successfully created organisation."
}