Skip to main content
X-Auth-Proxy-Config-Id
string
required
Your Auth Proxy config ID, found in Dashboard → AUTH. See Auth Proxy reference for setup.
filterType
string
required
Specifies the type of filter to apply, i.e ‘CREDENTIAL_ID’, ‘NAME’, ‘USERNAME’, ‘EMAIL’, ‘PHONE_NUMBER’, ‘OIDC_TOKEN’ or ‘PUBLIC_KEY’
filterValue
string
required
The value of the filter to apply for the specified type. For example, a specific email or name string.
verificationToken
string
Signed JWT containing a unique id, expiry, verification type, contact. Used to verify access to PII (email/phone number) when filter_type is ‘EMAIL’ or ‘PHONE_NUMBER’.
oidcToken
string
OIDC token to verify access to PII (email/phone number) when filter_type is ‘EMAIL’ or ‘PHONE_NUMBER’. Needed for social linking when verification_token is not available.
A successful response returns the following fields:
organizationId
string
organizationId field
curl --request POST \
  --url https://authproxy.turnkey.com/v1/account \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header "X-Auth-Proxy-Config-Id: <string> (see Authorizations)" \
  --data '{
    "filterType": "<string>",
    "filterValue": "<string>",
    "verificationToken": "<string>",
    "oidcToken": "<string>"
}'
{
  "organizationId": "<string>"
}