Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.turnkey.com/llms.txt

Use this file to discover all available pages before exploring further.

organizationId
string
required
Unique identifier for a given organization.
publicKey
string
If provided, return only the allowlist for this specific API key.
A successful response returns the following fields:
allowlist
object
required
allowlist field
curl --request POST \
  --url https://api.turnkey.com/public/v1/query/get_ip_allowlist \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header "X-Stamp: <string> (see Authorizations)" \
  --data '{
    "organizationId": "<string>",
    "publicKey": "<string>"
}'
{
  "allowlist": {
    "organizationId": "<string>",
    "rules": [
      {
        "cidr": "<string>",
        "label": "<string>",
        "createdAt": "<string>"
      }
    ],
    "publicKey": "<string>",
    "enabled": "<boolean>",
    "onEvaluationError": "<string>"
  }
}