Note: This endpoint is in preview and is subject to change.
If you have any feedback, contact Datadog support.
GET https://api.ap1.datadoghq.com/api/v2/incidents/config/types/{incident_type_id}/org-settingshttps://api.ap2.datadoghq.com/api/v2/incidents/config/types/{incident_type_id}/org-settingshttps://api.datadoghq.eu/api/v2/incidents/config/types/{incident_type_id}/org-settingshttps://api.ddog-gov.com/api/v2/incidents/config/types/{incident_type_id}/org-settingshttps://api.us2.ddog-gov.com/api/v2/incidents/config/types/{incident_type_id}/org-settingshttps://api.uk1.datadoghq.com/api/v2/incidents/config/types/{incident_type_id}/org-settingshttps://api.datadoghq.com/api/v2/incidents/config/types/{incident_type_id}/org-settingshttps://api.us3.datadoghq.com/api/v2/incidents/config/types/{incident_type_id}/org-settingshttps://api.us5.datadoghq.com/api/v2/incidents/config/types/{incident_type_id}/org-settings
Overview
Get the org settings for a specific incident type.
This endpoint requires
any
of the following permissions:
incident_settings_readincident_readOAuth apps require the incident_read authorization scope to access this endpoint.
Arguments
Path Parameters
incident_type_id [required]
The UUID of the incident type.
Query Strings
Comma-separated list of related resources to include in the response.
Response
OK
Response with a single incident org settings resource.
Expand All
Incident org settings data in a response.
Attributes of an incident org settings resource in a response.
Timestamp when the settings were created.
Timestamp when the settings were last modified.
The settings configuration for an incident org settings resource.
The org settings identifier.
Relationships for an incident org settings resource.
Relationship to an incident type.
Relationship to incident type object.
Incident type resource type.
Allowed enum values: incident_types
default: incident_types
Incident org settings resource type.
Allowed enum values: incident_org_settings
{
"data": {
"attributes": {
"created": "2024-01-01T00:00:00.000Z",
"modified": "2024-01-01T00:00:00.000Z",
"settings": {
"allow_anonymous_incident_declaration": false,
"allow_guest_incident_declaration": false,
"pagerduty_paging": true,
"private_incidents_by_default": false
}
},
"id": "00000000-0000-0000-0000-000000000000",
"relationships": {
"incident_type": {
"data": {
"id": "00000000-0000-0000-0000-000000000000",
"type": "incident_types"
}
}
},
"type": "incident_org_settings"
}
}
Bad Request
{
"errors": [
"Bad Request"
]
}
Unauthorized
{
"errors": [
"Bad Request"
]
}
Forbidden
{
"errors": [
"Bad Request"
]
}
Not Found
{
"errors": [
"Bad Request"
]
}
Too many requests
{
"errors": [
"Bad Request"
]
}
Code Example
# Path parameters
export incident_type_id="CHANGE_ME"
# Curl command
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.us2.ddog-gov.com"https://api.uk1.datadoghq.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/incidents/config/types/${incident_type_id}/org-settings" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"