Account API (Deprecated)

๐Ÿ“˜

Create an API Integration and obtain your apiKey to make requests listed below. Please make sure that the integration is not restricted to access configurations.

Get Account Info Request

๐Ÿ“˜

This is a read request. Therefore, even if the integration of the API key is configured as read-only, the request will be accepted.

Get Account Info Request is used to retrieve account info.

Mandatory Parameters

Parameter
apiKeyAPI key is used for authenticating API requests

Sample Request

curl -XGET 'https://api.opsgenie.com/v1/json/account/info?apiKey=034e2611-02c3-4156-b780-9e00872014a2'

Response

{
    userCount: 1450,
    name: "opsgenie",
    plan: {
        isYearly: true,
        name: "Enterprise",
        maxUserCount: 1500
    }
}