Skip to main content
POST
Exchange a personal access token for a scoped host token

Authorizations

Authorization
string
header
required

Personal access token (fln_pat_…). Only accepted by the host token exchange.

Body

application/json
installId
string
required
Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
name
string
required
Required string length: 1 - 128
daemonVersion
string
required
Required string length: 1 - 128
protocol
number
required
rowSchemaVersion
integer
required
Required range: 0 <= x <= 9007199254740991

Response

Scoped ES256 host token, valid for at most 15 minutes. Never cache this response.

token
string
required
Minimum string length: 1
expiresAt
integer
required
Required range: 0 <= x <= 9007199254740991
refreshAt
integer
required
Required range: 0 <= x <= 9007199254740991
host
object
required
supabase
object
required