POST
/
oauth2
/
token
curl --request POST \
  --url https://auth.cerebrium.ai/oauth2/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data client_id=2om0uempl69t4c6fc70ujstsuk \
  --data grant_type=refresh_token \
  --data 'refresh_token=<your-refresh-token>'

Body

application/x-www-form-urlencoded
client_id
string
default:2om0uempl69t4c6fc70ujstsuk
required

The client ID provided by Cerebrium. This is 2om0uempl69t4c6fc70ujstsuk.

Example:

"2om0uempl69t4c6fc70ujstsuk"

grant_type
string
required

The type of grant. Must be refresh_token.

Example:

"refresh_token"

refresh_token
string
required

Your valid refresh token.

Example:

"<your-refresh-token>"

Response

200
_mintlify/placeholder

New session token retrieved successfully.