This endpoint allows an organization admin to impersonate any user with a related organization account by receiving a jwt that can be used to access any resources on the API on behalf of the impersonated user.
Request
Endpoint
POST /api/v2/organizations/6a0607ec-9652-4094-842e-a1db45f69792/impersonation
Content-Type: application/vnd.api+json
Description
The timestamp of when this resource was created
Required
No
reason
Typestring
Description
The reason for the impersonation
Required
No
updated_at
Typedate
Description
The timestamp of when this resource was last updated
Required
No
updated_in_db_at
Typedate
Description
This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Required
No
user
Typestring
Description
The User Name, ID or Key/Relay Email of the user to impersonate
Required
No
Response
Headers
Body
Fields
Attributes
created_at
Typedate
Description
The timestamp of when this resource was created
json_web_token
Typestring
Description
The JWT for the user being impersonated
updated_at
Typedate
Description
The timestamp of when this resource was last updated
updated_in_db_at
Typedate
Description
This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.