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/workers/{workerUuid}/impersonate

Path parameters

workerUuidstring uuid required

worker uuid

Query parameters

embeddedSessionboolean

whether this action is requested for an embedded portal session

Response

The worker portal url including the authentication token

Example response

{
  "data": {
    "loginLink": "https://portal.fountain.com/company/worker/login/?t=xxxxx"
  },
  "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
  }
}