CodeWallDocs
API Reference

API Authentication

How to authenticate with the CodeWall API.

API keys

All API requests are authenticated with API keys passed as Bearer tokens.

Generating a key

  1. Go to Settings > API Keys in the platform
  2. Click Generate Key
  3. Give the key a descriptive name (e.g., "CI/CD pipeline", "Jira integration")
  4. Copy the key immediately — it will not be shown again

Using a key

Include the key in the Authorization header of every request:

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.codewall.ai/v1/tests

Key permissions

API keys inherit the permissions of the user who created them:

User RoleAPI Key Can
Owner / AdminFull API access — manage tests, findings, settings
MemberCreate tests, read findings, manage own resources
ViewerRead-only access to tests and findings

Revoking a key

  1. Go to Settings > API Keys
  2. Click the delete icon next to the key
  3. The key is immediately invalidated

Error responses

Status CodeMeaning
401 UnauthorizedMissing or invalid API key
403 ForbiddenValid key but insufficient permissions
429 Too Many RequestsRate limit exceeded (see Rate Limits)