Skip to main content
POST
/
auth
/
refresh
Refresh access token
curl --request POST \
  --url https://api.plec-it.com/auth/refresh \
  --header 'Content-Type: application/json' \
  --data '
{
  "refreshToken": "abc123.def456"
}
'
{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}

Query Parameters

dryRun
enum<string>
default:true
required

When true, validates/simulates but performs no writes. Required for docs playground.

Available options:
true

Body

application/json
refreshToken
string

Refresh token (optional if sent in refresh_token cookie)

Example:

"abc123.def456"

Response

Success

accessToken
string
required

New JWT access token

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."