Skip to content
OpenPostDocs
OpenPostDocs
Auth

Consume a user impersonation link

Consumes a five-minute, one-use impersonation code and creates a tracked browser session for the target user.

POST/auth/impersonation

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/auth/impersonation" \  -H "Content-Type: application/json" \  -d '{    "code": "string"  }'
{  "$schema": "https://example.com/api/v1/schemas/ConsumeUserImpersonationLinkOutputBody.json",  "message": "string"}