Skip to main content

Documentation Index

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

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

Creating API Keys

Step 1: Navigate to API Keys

  1. Go to workspace in your Antryk dashboard .
  2. Click on “API Keys” section under workspace heading.
  3. Click “Create New Key”

Step 2: Configure Key

  • Name: Give your key a descriptive name
  • Permissions: Select appropriate permissions
  • Expiration: Set expiration date (optional)

Step 3: Generate Key

  • Click “Generate Key”
  • you will get Access key that will be used as public api key
  • you will Secret key , copy it and store it as that will not be shown again.

Using API Keys

Authentication

# Bash/cURL - Set your API credentials
export ANTRYK_ACCESS_KEY="your-access-key-here"
export ANTRYK_SECRET_KEY="your-secret-key-here"

# Use in API calls

curl -H "x-access-key: $ANTRYK_ACCESS_KEY" \
 -H "x-secret-key: $ANTRYK_SECRET_KEY" \
 https://api.antryk.com/v1/services

Best Practices

  • Rotate regularly - Change keys periodically
  • Use environment variables - Don’t hardcode keys
  • Limit permissions - Use least privilege principle
  • Monitor usage - Track key usage and activity

Key Management

Viewing Keys

  • Active keys - See all active API keys
  • Usage statistics - View usage per key
  • Last used - See when each key was last used

Revoking Keys

  • Individual revocation - Revoke specific keys
  • Bulk revocation - Revoke multiple keys
  • Emergency revocation - Revoke all keys at once

API Docs

Learn about API endpoints and usage