Skip to content

Refresh the access token (rotating refresh secret + DPoP proof)

POST
/v1/devices/token
curl --request POST \
--url https://app.skillpouch.net/v1/devices/token \
--header 'Content-Type: application/json' \
--data '{ "refresh_token": "example" }'
Media typeapplication/json
object
refresh_token
required
string
>= 10 characters <= 300 characters

Example generated

{
"refresh_token": "example"
}

Default Response

Media typeapplication/json
object
ok
required
boolean
data
required
object
token_type
required
string
Allowed values: DPoP
access_token
required
string
expires_in
required
integer
>= -9007199254740991 <= 9007199254740991
refresh_token
required
string
device_id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
storage_account_id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
meta
required
object
request_id
required
string
next_cursor
string | null

Example

{
"ok": true,
"data": {
"token_type": "DPoP"
}
}