Get the Statuspage account

GET https://api.ap1.datadoghq.com/api/v2/integration/statuspage/accounthttps://api.ap2.datadoghq.com/api/v2/integration/statuspage/accounthttps://api.datadoghq.eu/api/v2/integration/statuspage/accounthttps://api.ddog-gov.com/api/v2/integration/statuspage/accounthttps://api.us2.ddog-gov.com/api/v2/integration/statuspage/accounthttps://api.datadoghq.com/api/v2/integration/statuspage/accounthttps://api.us3.datadoghq.com/api/v2/integration/statuspage/accounthttps://api.us5.datadoghq.com/api/v2/integration/statuspage/account

Overview

Get the Statuspage account configured for your organization. This endpoint requires the integrations_read permission.

Response

OK

Response containing a Statuspage account.

Expand All

Field

Type

Description

data [required]

object

Statuspage account data from a response.

attributes [required]

object

The attributes from a Statuspage account response.

api_key

string

The Statuspage API key for your Statuspage account. The value is always returned masked.

type [required]

enum

Statuspage account resource type. Allowed enum values: statuspage-account

default: statuspage-account

{
  "data": {
    "attributes": {
      "api_key": "*****"
    },
    "type": "statuspage-account"
  }
}

Forbidden

API error response.

Expand All

Field

Type

Description

errors [required]

[string]

A list of errors.

{
  "errors": [
    "Bad Request"
  ]
}

Not Found

API error response.

Expand All

Field

Type

Description

errors [required]

[string]

A list of errors.

{
  "errors": [
    "Bad Request"
  ]
}

Too many requests

API error response.

Expand All

Field

Type

Description

errors [required]

[string]

A list of errors.

{
  "errors": [
    "Bad Request"
  ]
}

Code Example

                  # 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.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/statuspage/account" \ -H "Accept: application/json" \ -H "DD-API-KEY: ${DD_API_KEY}" \ -H "DD-APPLICATION-KEY: ${DD_APP_KEY}"