Documentation Index
Fetch the complete documentation index at: https://turnkey-0e7c1f5b-amir-tx-status-webhooks.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.
Unique identifier for a given OAuth 2.0 Credential.
Response
A successful response returns the following fields:
oauth2Credential fieldShow oauth2Credential details
oauth2Credential.oauth2CredentialId
Unique identifier for a given OAuth 2.0 Credential.
oauth2Credential.organizationId
Unique identifier for an Organization.
oauth2Credential.provider
provider fieldEnum options: OAUTH2_PROVIDER_X, OAUTH2_PROVIDER_DISCORD
oauth2Credential.clientId
The client id for a given OAuth 2.0 Credential.
oauth2Credential.encryptedClientSecret
The encrypted client secret for a given OAuth 2.0 Credential encrypted to the TLS Fetcher quorum key.
oauth2Credential.createdAt
createdAt field
oauth2Credential.createdAt.seconds
oauth2Credential.createdAt.nanos
oauth2Credential.updatedAt
updatedAt field
oauth2Credential.updatedAt.seconds
oauth2Credential.updatedAt.nanos
curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_oauth2_credential \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"organizationId": "<string>",
"oauth2CredentialId": "<string>"
}'
{
"oauth2Credential": {
"oauth2CredentialId": "<string>",
"organizationId": "<string>",
"provider": "<OAUTH2_PROVIDER_X>",
"clientId": "<string>",
"encryptedClientSecret": "<string>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
}
}
}