Preview API. Every route takes a bearer token except POST /oauth/token. Use the Sandbox / Live toggle in the sidebar. Start with Authentication if you do not have credentials yet.

    Get token

    Exchanges client credentials for an access token valid for one hour.

    POSThttps://api.globodain.com/v1/oauth/token
    grant_type*string

    Always client_credentials.

    client_id*string

    Client identifier.

    client_secret*string

    Client secret. Do not expose it in the browser.

    scopestring

    Space-separated scopes. Defaults to all of the client’s scopes.

    Request examples

    curl --request POST \
      --url "https://api.globodain.com/v1/oauth/token" \
      --header 'Content-Type: application/x-www-form-urlencoded' \
      --data 'grant_type=client_credentials&client_id=cli_backend&scope=connections%3Aread+ask'

    Responses

    Token issued.

    200
    {
      "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
      "token_type": "Bearer",
      "expires_in": 3600,
      "scope": "connections:read ask"
    }