Skip to content

Refresh access token

POST
/refresh/
curl --request POST \
--url https://api.semantico.ai/api/v1/refresh/ \
--header 'Content-Type: application/json' \
--data '{ "refresh": "example" }'

Exchange a valid refresh token for a new access token.

Media typeapplication/json
object
refresh
required
string
Examplegenerated
{
"refresh": "example"
}

New access token

Media typeapplication/json
object
access
string
Examplegenerated
{
"access": "example"
}

Missing or invalid token.

Media typeapplication/json
object
detail
string
Examplegenerated
{
"detail": "example"
}