Documentation Index
Fetch the complete documentation index at: https://turnkey-0e7c1f5b-ethan-captcha-protection.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key
WebAuthn (Passkey)
Cryptographically signed (stamped) request to be passed in as a header. For more info, see
here.
Cryptographically signed (stamped) request to be passed in as a header. For more info, see
here.
Body
Unique identifier for a given Organization.
Response
A successful response returns the following fields:
oauth2Credentials fieldShow oauth2Credentials details
oauth2Credentials.oauth2CredentialId
Unique identifier for a given OAuth 2.0 Credential.
oauth2Credentials.organizationId
Unique identifier for an Organization.
oauth2Credentials.provider
provider fieldEnum options: OAUTH2_PROVIDER_X, OAUTH2_PROVIDER_DISCORD
oauth2Credentials.clientId
The client id for a given OAuth 2.0 Credential.
oauth2Credentials.encryptedClientSecret
The encrypted client secret for a given OAuth 2.0 Credential encrypted to the TLS Fetcher quorum key.
oauth2Credentials.createdAt
createdAt field
oauth2Credentials.createdAt.seconds
oauth2Credentials.createdAt.nanos
oauth2Credentials.updatedAt
updatedAt field
oauth2Credentials.updatedAt.seconds
oauth2Credentials.updatedAt.nanos
curl --request POST \
--url https://api.turnkey.com/public/v1/query/list_oauth2_credentials \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"organizationId": "<string>"
}'
{
"oauth2Credentials": [
{
"oauth2CredentialId": "<string>",
"organizationId": "<string>",
"provider": "<OAUTH2_PROVIDER_X>",
"clientId": "<string>",
"encryptedClientSecret": "<string>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
}
}
]
}