Error Tracking

Create Error Label

POST
/v0/projects/{idOrSlug}/errors/labels

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Request Body

application/json
  1. body
name*string
color*string

Response Body

ErrorLabel

application/json
  1. response
id*string
name*string
color*string
projectId?string|null
position?number||null
createdBy?string|null|null
updatedBy?string|null|null
createdAt?string|null
updatedAt?string|null
issueCount?number||null
curl -X POST "https://example.com/v0/projects/string/errors/labels" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "color": "string"  }'
{  "id": "string",  "name": "string",  "color": "string",  "projectId": "string",  "position": 0,  "createdBy": "string",  "updatedBy": "string",  "createdAt": "string",  "updatedAt": "string",  "issueCount": 0}