Exchange a refresh token for a new access token.
cURL
curl --request POST \ --url https://api.buildwithtrace.com/api/v2/auth/refresh \ --header 'Content-Type: application/json' \ --data ' { "refresh_token": "<string>" } '
{ "access_token": "<string>", "refresh_token": "<string>", "token_type": "bearer", "user": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "email": "jsmith@example.com", "full_name": "<string>", "plan": "free", "avatar_url": "<string>", "created_at": "2023-11-07T05:31:56Z" } }
New tokens issued
"bearer"
Show child attributes
Was this page helpful?