Refport

Create an embed token

Creates a short-lived public token for the embeddable partner referral portal.

POST
/api/embed/token

Creates a short-lived public token for the embeddable partner referral portal.

Authorization

apiKeyAuth
Authorization<token>

API key passed as a Bearer token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

enrollmentId?string
partner?
tenantId?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/embed/token" \  -H "Content-Type: application/json" \  -d '{}'
{  "expires": "2019-08-24T14:15:22Z",  "publicToken": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}