Authentication

POST /oauth/token

Changed on

Exchanges approved account credentials or a refresh token for integration tokens. Use the returned expires_in value. Accounts requiring two-factor authentication can return a 403 challenge instead of access tokens.

post/oauth/token

Request

Request body

OR

Response

Successful response

access_tokenstring
token_typestring
expires_ininteger
refresh_tokenstring
created_atinteger

Changes

    • breaking

      added required request body

    • info

      added the non-success response with the status

    • warning

      the optional response header Cache-Control removed for the status 200

    • warning

      the optional response header Connection removed for the status 200

    • warning

      the optional response header Date removed for the status 200

    • warning

      the optional response header Etag removed for the status 200

    • warning

      the optional response header Pragma removed for the status 200

    • warning

      the optional response header Server removed for the status 200

    • warning

      the optional response header Transfer-Encoding removed for the status 200

    • warning

      the optional response header Via removed for the status 200

    • warning

      the optional response header X-Content-Type-Options removed for the status 200

    • warning

      the optional response header X-Frame-Options removed for the status 200

    • warning

      the optional response header X-Request-Id removed for the status 200

    • warning

      the optional response header X-Runtime removed for the status 200

    • warning

      the optional response header X-Xss-Protection removed for the status 200

    • info

      api operation id legacy_nimbo_api_post__oauth_token was added