Create Token

POST {{baseUrl}}/refresh-token

Generates refresh token for a user of the organization. Returns the refresh token object in response.
Requires access_token as a Bearer {{token}} in the Authorization header with user-write scope.

Request Body

{"user_id"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Authorizationnull
Content-Typestring

RESPONSES

status: Created

{&quot;data&quot;:{&quot;id&quot;:&quot;6384cd1ab9544c611a02d1ab&quot;,&quot;organization_id&quot;:&quot;5e1c2309342445001180f9c3&quot;,&quot;user_id&quot;:&quot;6194adafcc885c0007ba3b4a&quot;,&quot;token&quot;:&quot;50fce970c63f538cbd48268a3390698aadc7d9aea381f0443395e41d2fbee8b6fcf05550c0733dd0be8d2fab71fd2751cd903ff616fbfa72dea22cfc9ef989898&quot;,&quot;last_refresh&quot;:&quot;0001-01-01T00:00:00Z&quot;,&quot;rate_limit&quot;:0,&quot;deleted&quot;:false}}