GET
/
api
/
incidents
/
v1
curl --request GET \
  --url https://developer.synq.io/api/incidents/v1 \
  --header 'Authorization: Bearer <token>'
{
  "incidents": [
    {
      "id": "<string>",
      "index": 123,
      "name": "<string>",
      "issueIds": [
        "<string>"
      ],
      "createdBy": {
        "name": "<string>",
        "slack": {
          "userId": "<string>"
        },
        "email": {
          "userEmail": "<string>"
        },
        "pagerduty": {
          "userId": "<string>"
        }
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedBy": {
        "name": "<string>",
        "slack": {
          "userId": "<string>"
        },
        "email": {
          "userEmail": "<string>"
        },
        "pagerduty": {
          "userId": "<string>"
        }
      },
      "updatedAt": "2023-11-07T05:31:56Z",
      "state": 123,
      "comments": [
        {
          "id": "<string>",
          "message": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "actor": {
            "name": "<string>",
            "slack": {
              "userId": "<string>"
            },
            "email": {
              "userEmail": "<string>"
            },
            "pagerduty": {
              "userId": "<string>"
            }
          }
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

time.field
integer
time.from
string
time.to
string
sort.sortBy
integer
sort.order
integer
pagination.cursor
string
pagination.pageSize
integer
states
integer[]

Filter by states

Response

200
application/json

OK

The response is of type object.