POST
/
{version}
/
submissions
/
{submission}
/
statuses
curl --request POST \
  --url https://api.perscom.io/{version}/submissions/{submission}/statuses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "color": "<string>",
  "order": 123
}'
{
  "data": {
    "id": 123,
    "name": "<string>",
    "color": "<string>",
    "order": 123,
    "label": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

version
enum<string>
default:v2
required

The API version to use.

Available options:
v1,
v2
submission
integer
required

Query Parameters

include
enum<string>
Available options:
record

Body

application/json
name
string
required
color
string
required

Provided as a 6 digit hex code.

order
integer

Will be auto-calculated if nothing is provided.

Response

201
application/json
OK
data
object