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

Request

  • Base URL
    https://services.fountain.com
  • URL
    https://services.fountain.com/api/servicesecurity/processes/workers/{workerUuid}/impersonate
  • Auth
    HTTP bearer

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
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.