Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/vnd.api+json
Response
cause created
Creates a new cause from provided data
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": "70d50b5c-c425-425f-8482-4581e343f6c1",
"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-09-15T14:57:30.084-07:00",
"updated_at": "2025-09-15T14:57:30.084-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Show child attributes
cause created
Show child attributes
Was this page helpful?
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": "70d50b5c-c425-425f-8482-4581e343f6c1",
"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-09-15T14:57:30.084-07:00",
"updated_at": "2025-09-15T14:57:30.084-07:00"
}
}
}