Skip to main content

Overview

A Campaign is the top-level container that defines how calls are made: which agent speaks, which phone numbers are used, when calls are allowed, and what retry logic to apply. Every Batch belongs to exactly one campaign and inherits its settings. Base URL: https://api.graine.ai/api/v1 Authentication: All campaign endpoints require Authorization: Bearer gat_<token>.

Campaign Object

Campaign Fields

Campaign Status Lifecycle

Endpoints

Create Campaign

POST /campaigns/

List Campaigns

GET /campaigns/

Get Campaign

GET /campaigns/:id

Update Campaign

PATCH /campaigns/:id

Delete Campaign

DELETE /campaigns/:id

Pause / Resume / Cancel

Control campaign execution

Campaign Stats

GET /campaigns/:id/stats