v1

latestOpenAPI 3.0.12026-07-245752052.0 MB
users

Retrieve a short-lived authenticated URL for a worker's portal

Impersonate a user in their own portal.

get/api/servicesecurity/processes/employers/{employerUuid}/impersonate

Path parameters

employerUuidstring uuid required

worker uuid

Response

The impersonated employer JWT token

Example response

{
  "data": {
    "token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.xxx.xxx"
  },
  "meta": {
    "timestamp": "2021-05-05T09:47:58.924Z",
    "verb": "GET",
    "path": "/api/structure/resources/5949cf7c-fec6-4b31-947c-3aceabff58c5",
    "jti": "%cQN3RIGp",
    "rid": "$2d2zkHZ5",
    "count": 1,
    "status": "200",
    "duration": 17,
    "size": 1234
  }
}