Skip to main content
POST
JavaScript

Authorizations

X-API-KEY
string
header
required

Server API Key

Headers

X-ACCOUNT-ID
string

Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.

X-ENVIRONMENT-ID
string

Environment ID — required when authenticating with a user JWT (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the key).

Body

application/json

Mint a scoped JWT for the FE embedded SDK.

applicationOrigin
string
required

FE origin the resulting JWT is bound to (provider-side anti-fraud)

Required string length: 1 - 255
destinationType
string

Pin the token to a specific warehouse connect flow

Maximum string length: 255
enabledModels
string[]
Minimum array length: 1

Wire identifier of a data-export model the destination is configured to receive (omit the parent field for the full catalog)

Required string length: 1 - 255

Response

Scoped token + expiry + provider-specific metadata for the FE SDK.

Response object

data
DataExportScopedTokenResponse · object
required

Scoped token + expiry + provider-specific metadata for the FE SDK.