Incidents/Communication Card
Request body for creating a Slack channel in a communication card.
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
POST /v3/extensions/slack_v2/channel HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"channel_name": "text",
"incident_id": "text"
}{
"data": {
"created_at": "text",
"updated_at": "text",
"deleted_at": null,
"id": 1,
"incident_id": "text",
"url": "text",
"type": "text",
"title": "text",
"channel_id": "text",
"archived_at": null
}
}Request body for archiving a Slack channel.
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
POST /v3/extensions/slack_v2/channel/archive HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 27
{
"slack_channel_id": "text"
}{
"data": {
"created_at": "text",
"updated_at": "text",
"deleted_at": null,
"id": 1,
"incident_id": "text",
"url": "text",
"type": "text",
"title": "text",
"channel_id": "text",
"archived_at": null
}
}This endpoint is used to get all the communication card details for incidentId metioned in params.
Requires
access_tokenas aBearer {{token}}in theAuthorizationheader.
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
GET /v3/incidents/{IncidentId}/communication_cards HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"created_at": "text",
"updated_at": "text",
"deleted_at": null,
"id": 1,
"incident_id": "text",
"url": "text",
"type": "text",
"title": "text",
"channel_id": "text",
"archived_at": null
}
]
}Required
Request body for creating a communication card.
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
POST /v3/incidents/{IncidentId}/communication_cards HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"type": "text",
"url": "text",
"title": "text"
}{
"data": {
"created_at": "text",
"updated_at": "text",
"deleted_at": null,
"id": 1,
"incident_id": "text",
"url": "text",
"type": "text",
"title": "text",
"channel_id": "text",
"archived_at": null
}
}Required
Request body for updating a communication card.
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
PUT /v3/incidents/{IncidentId}/communication_cards/{communicationCardId} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"title": "text",
"type": "text",
"url": "text"
}{
"data": {
"created_at": "text",
"updated_at": "text",
"deleted_at": null,
"id": 1,
"incident_id": "text",
"url": "text",
"type": "text",
"title": "text",
"channel_id": "text",
"archived_at": null
}
}Delete communication card by providing communicationCardId for incidentId mentioned in params
Requires access_token as a Bearer {{token}} in the Authorization header with service-write scope.
Required
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
DELETE /v3/incidents/{IncidentId}/communication_cards/{communicationCardId} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
authorization: text
Accept: */*
{
"data": "text"
}Last updated