Skip to content

API Reference

Welcome to the GetRaze API. Use our REST API to integrate GetRaze functionality into your applications.

Base URL

https://app.getraze.com/external/v1

Authentication

All API requests require authentication using an API key. Include your API key in the request header:

bash
X-API-Key: your_api_key_here

Or using Bearer token format:

bash
Authorization: Bearer your_api_key_here

Quick Start

1. Get your API Key

Navigate to Config > API Keys in your GetRaze dashboard to create a new API key.

2. Make your first request

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

3. Response

json
{
  "success": true,
  "data": [...],
  "pagination": {
    "page": 1,
    "per_page": 50,
    "total": 150,
    "total_pages": 3,
    "has_next": true,
    "has_prev": false
  }
}

Available Endpoints

Contacts

MethodEndpointDescription
GET/contactsList all contacts
GET/contacts/:idRetrieve a contact
POST/contactsCreate a contact
PUT/contacts/:idUpdate a contact
DELETE/contacts/:idDelete a contact

Opportunities

MethodEndpointDescription
GET/opportunitiesList all opportunities
GET/opportunities/:idRetrieve an opportunity
POST/opportunitiesCreate an opportunity
PUT/opportunities/:idUpdate an opportunity
PATCH/opportunities/:id/stageUpdate opportunity stage
DELETE/opportunities/:idDelete an opportunity

Campaigns

MethodEndpointDescription
GET/campaignsList all campaigns
POST/campaigns/:id/contactsAdd a contact to a campaign

Instagram Agents

MethodEndpointDescription
GET/instagram-agentsList all Instagram agents
POST/instagram-agents/:id/profilesAdd a profile to an agent

Rate Limits

Each API key has configurable rate limits. Default is 1000 requests per hour.

Rate limit information is included in response headers:

  • X-RateLimit-Limit: Maximum requests per hour
  • X-RateLimit-Remaining: Remaining requests
  • X-RateLimit-Reset: Unix timestamp when limit resets

Permissions

API keys use granular permissions:

PermissionDescription
contacts:readRead contact data
contacts:writeCreate and update contacts
contacts:deleteDelete contacts
opportunities:readRead opportunity data
opportunities:writeCreate and update opportunities
opportunities:deleteDelete opportunities
campaigns:readRead campaign data
campaigns:writeAdd contacts to campaigns
instagram_agents:readRead Instagram agent data
instagram_agents:writeAdd profiles to agents

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

GetRaze - AI-Powered Lead Generation