API Reference

Complete reference for all BringRings API endpoints.

Base URL

https://api.bringrings.com

Authentication

All API requests require authentication via the x-api-key header. See Authentication for details.

Calls

MethodEndpointDescription
POST/calls/initiateInitiate an outbound call
GET/calls/:idGet call details
POST/calls/:id/endEnd an active call
GET/logs/:idGet call transcript

Agents

MethodEndpointDescription
GET/agentsList all agents
POST/agentsCreate an agent
GET/agents/:idGet agent details
PUT/agents/:idUpdate an agent
DELETE/agents/:idDelete an agent

Campaigns

MethodEndpointDescription
GET/outbound/campaignsList campaigns
POST/outbound/campaignsCreate a campaign
POST/outbound/campaigns/:id/startStart a campaign
PUT/outbound/campaigns/:id/statusPause/resume campaign

Usage

MethodEndpointDescription
GET/billing/usageGet current usage
GET/analyticsGet analytics data

Response Format

All responses are returned as JSON with the following structure:

{
  "success": true,
  "data": { ... }
}

// Or for errors:
{
  "success": false,
  "error": {
    "message": "Error description",
    "code": "ERROR_CODE"
  }
}