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
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | null | ||
Content-Type | string |
RESPONSES
status: Created
{"data":{"id":"6384cd1ab9544c611a02d1ab","organization_id":"5e1c2309342445001180f9c3","user_id":"6194adafcc885c0007ba3b4a","token":"50fce970c63f538cbd48268a3390698aadc7d9aea381f0443395e41d2fbee8b6fcf05550c0733dd0be8d2fab71fd2751cd903ff616fbfa72dea22cfc9ef989898","last_refresh":"0001-01-01T00:00:00Z","rate_limit":0,"deleted":false}}