POST
/
v1
/
causes
curl --request POST \
  --url https://api.rootly.com/v1/causes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "causes",
    "attributes": {
      "name": "<string>",
      "description": "<string>",
      "position": 123
    }
  }
}'
{
  "data": {
    "id": "f2a0a95c-1220-4855-8af4-3579ed3cc02b",
    "type": "causes",
    "attributes": {
      "slug": "how-to-handle-customer-facing-incident",
      "name": "How to handle customer-facing incident?",
      "description": "This is a description",
      "position": 1,
      "created_at": "2025-03-19T07:48:42.633-07:00",
      "updated_at": "2025-03-19T07:48:42.633-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/vnd.api+json
data
object
required

Response

201
application/vnd.api+json
cause created
data
object
required