Get Access Token

Post the following information to get an OAuth 2.0 Access Token.

Request Body

application/json

  • grant_typestringrequired

    grant_type. Use client_credentials.

  • client_idstringrequired

    This is the key from the integration.

  • client_secretstringrequired

    This is the secret from the integration.

Loading Examples...

Responses

  • access_tokenstring

    The Access Token

  • token_typestring

    The token_type: bearer

  • expires_instring

    Seconds(s) to token expiry.OpsRamp's API Tokens expire in 7200s - 1s = 7199s

  • scopestring

    OAuth 2.0 scope: All APIs use the same scope: global:manage.

Loading Examples...