Extensions/MSTeams
Returns MSTeams config of the organization. Requires access_token as a Bearer {{token}} in the Authorization header with read scope.
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/extensions/msteams/config HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
authorization: text
Accept: */*
{
"data": {
"custom_incident_alert_state": {
"is_trigger_active": true,
"is_retrigger_active": true,
"is_acknowledge_active": true,
"is_resolve_active": true,
"is_reassign_active": true,
"is_notes_added_active": true,
"is_postmortem_active": true,
"is_priority_updated_active": true
},
"id": "text",
"organization_id": "text",
"default_conversation_name": "text",
"default_conversation_id": "text",
"is_active": true,
"is_default_active": true,
"is_custom_channels_active": true,
"triggers": {
"all_active": true,
"custom": [
"text"
]
},
"tenant_id": "text",
"from_id": "text",
"connected_teams": [
{
"id": "text",
"team_id": "text",
"team_name": "text",
"channel_configurations": [
{
"id": "text",
"squadcast_team_id": "text",
"squadcast_team_name": "text",
"is_all_services": true,
"services": [
{
"squadcast_service_id": "text",
"squadcast_service_name": "text"
}
],
"msteams_channel_id": "text",
"msteams_channel_name": "text"
}
]
}
]
}
}Requires access_token as a Bearer {{token}} in the Authorization header with user-write scope.
The request body for creating or updating an MS Teams extension configuration.
The MongoDB ObjectID of the extension document. Should be included for updates.
The MongoDB ObjectID of the organization this extension belongs to.
The display name for the default conversation/channel.
The unique identifier for the default MS Teams conversation/channel.
A master switch to enable or disable the entire integration.
Determines if notifications should be sent to the default channel.
Determines if notifications should be sent to custom-configured channels.
The Azure AD Tenant ID of the organization that owns this extension.
The Azure AD Object ID of the user who created this extension.
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/msteams/config HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 846
{
"custom_incident_alert_state": {
"is_trigger_active": true,
"is_retrigger_active": true,
"is_acknowledge_active": true,
"is_resolve_active": true,
"is_reassign_active": true,
"is_notes_added_active": true,
"is_postmortem_active": true,
"is_priority_updated_active": true
},
"id": "text",
"organization_id": "text",
"default_conversation_name": "text",
"default_conversation_id": "text",
"is_active": true,
"is_default_active": true,
"is_custom_channels_active": true,
"triggers": {
"all_active": true,
"custom": [
"text"
]
},
"tenant_id": "text",
"from_id": "text",
"connected_teams": [
{
"id": "text",
"team_id": "text",
"team_name": "text",
"channel_configurations": [
{
"id": "text",
"squadcast_team_id": "text",
"squadcast_team_name": "text",
"is_all_services": true,
"services": [
{
"squadcast_service_id": "text",
"squadcast_service_name": "text"
}
],
"msteams_channel_id": "text",
"msteams_channel_name": "text"
}
]
}
]
}{
"data": {
"custom_incident_alert_state": {
"is_trigger_active": true,
"is_retrigger_active": true,
"is_acknowledge_active": true,
"is_resolve_active": true,
"is_reassign_active": true,
"is_notes_added_active": true,
"is_postmortem_active": true,
"is_priority_updated_active": true
},
"id": "text",
"organization_id": "text",
"default_conversation_name": "text",
"default_conversation_id": "text",
"is_active": true,
"is_default_active": true,
"is_custom_channels_active": true,
"triggers": {
"all_active": true,
"custom": [
"text"
]
},
"tenant_id": "text",
"from_id": "text",
"connected_teams": [
{
"id": "text",
"team_id": "text",
"team_name": "text",
"channel_configurations": [
{
"id": "text",
"squadcast_team_id": "text",
"squadcast_team_name": "text",
"is_all_services": true,
"services": [
{
"squadcast_service_id": "text",
"squadcast_service_name": "text"
}
],
"msteams_channel_id": "text",
"msteams_channel_name": "text"
}
]
}
]
}
}Last updated