Documentation Index
Fetch the complete documentation index at: https://turnkey-0e7c1f5b-andrew-prettier.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Unique identifier for a given Organization.
Unique identifier for a given OAuth 2.0 Credential.
A successful response returns the following
fields:
oauth2Credential fieldShow oauth2Credential details
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>"
}
}
}