Skip to content

Authentication ​

The GetRaze API uses API keys to authenticate requests.

Getting Your API Key ​

  1. Log in to your GetRaze dashboard
  2. Navigate to Settings > API Keys
  3. Click Create API Key
  4. Configure permissions and rate limits
  5. Copy your API key (it will only be shown once)

WARNING

Keep your API key secure. Never share it in public repositories or client-side code.

Using Your API Key ​

Include your API key in every request using one of these methods:

bash
curl --request GET \
  --url "https://app.getraze.com/external/v1/contacts" \
  --header "X-API-Key: lr_live_xxxxxxxxxxxxx"

Bearer Token ​

bash
curl --request GET \
  --url "https://app.getraze.com/external/v1/contacts" \
  --header "Authorization: Bearer lr_live_xxxxxxxxxxxxx"

Query Parameter ​

bash
curl --request GET \
  --url "https://app.getraze.com/external/v1/contacts?api_key=lr_live_xxxxxxxxxxxxx"

TIP

We recommend using the X-API-Key header for security. Query parameters may be logged by servers.

API Key Permissions ​

When creating an API key, you can configure granular permissions:

PermissionAllows
contacts:readList and retrieve contacts
contacts:writeCreate and update contacts
contacts:deleteDelete contacts
opportunities:readList and retrieve opportunities
opportunities:writeCreate and update opportunities
opportunities:deleteDelete opportunities
campaigns:readList campaigns
campaigns:writeAdd contacts to campaigns
instagram_agents:readList Instagram agents
instagram_agents:writeAdd profiles to Instagram agents
pipelines:read, sectors:read, tags:read, discard_reasons:read, products:read, users:readRead reference lists
conversations:readList conversations and read messages
reports:readRead aggregated reports (funnel, sales summary, sellers, SLA)
tags:writeCreate tags (MCP: contacts_add_tags with create_missing)
conversations:writeSend messages, add notes and take control of conversations (MCP; admin only)
knowledge:readSearch an AI employee's knowledge base (MCP)
agents:readList AI employees (MCP)
agents:runChat with an AI employee in a sandbox (MCP; admin only)
agent_tools:executeRun AI employee actions on real contacts (MCP; admin only)

Wildcard permissions are supported (e.g., contacts:* grants all contact permissions).

Key Rotation ​

For security, we recommend rotating your API keys periodically:

  1. Create a new API key with the same permissions
  2. Update your applications to use the new key
  3. Revoke the old API key

Authentication Errors ​

StatusError CodeDescription
401MISSING_API_KEYNo API key provided
401INVALID_API_KEYAPI key is invalid or revoked
403INSUFFICIENT_PERMISSIONSAPI key lacks required permission
429RATE_LIMIT_EXCEEDEDToo many requests

GetRaze - AI-Powered Lead Generation