Flireo AI
WebsiteLinkedin
WebsiteLinkedin
  1. Campaigns
  • API Reference
    • Agents
      • List all agents
      • Create a new agent
      • Get an agent
      • Update an agent
      • Delete an agent
    • Tool Templates
      • List all tool templates
      • Create a new tool template
      • Get a tool template
      • Update a tool template
      • Delete a tool template
    • Numbers
      • List all phone numbers
      • Register a phone number
      • Get a phone number
      • Update a phone number
      • Delete a phone number
    • Calls
      • List calls
      • Get call by ID
      • Initiate outbound call
    • Call Control
      • Send control command to active call
    • Usage
      • Get usage logs
    • SIP Trunks
      • List SIP trunks
      • Create a SIP trunk
      • Get a SIP trunk
      • Delete a SIP trunk
    • Voices
      • List available voices
    • BYOK
      • Get BYOK configurations
      • Add BYOK configuration
      • Delete BYOK configuration
      • Get BYOK provider configurations
    • Domains
      • Get your domain
      • Add a domain
      • Delete your domain
      • List available Resend domains
      • Select and sync a Resend domain
      • Verify domain DNS records
      • Refresh domain status
    • Webhooks
      • Dynamic assistant configuration webhook
      • Tool/Function Call
      • Call Status Update
      • End of Call Report
    • Analysis Templates
      • List analysis templates
      • Create analysis template
      • Get analysis template
      • Update analysis template
      • Delete analysis template
    • Organization
      • Get organization information
    • Campaigns
      • List all campaigns
        GET
      • Create a campaign
        POST
      • Get a campaign
        GET
      • Update a campaign
        PATCH
      • Delete a campaign
        DELETE
      • List campaign leads
        GET
      • Add a lead
        POST
      • Remove a lead
        DELETE
  • Documentation
    • Get started
      • Quickstart
      • Introduction
      • Authentication
    • Core concepts
      • Agents
      • Phone numbers
      • Calls
      • Webhooks
    • Api's
      • Organization
      • Agents
      • Phone numbers
      • Sip trunks
      • Calls
      • Call control
      • Usage
      • Voices
      • BYOK
      • Domains
      • Analysis templates
      • Tool templates
    • Webhooks
      • Overview
      • Assistant request
      • Tool calls
      • Status update
      • End of call report
      • Security
    • Guides
      • BYOK Setup
      • Call analysis
      • Custom Tools
      • Call Transfers
      • xAI Realtime Integration
      • Analysis templates
      • Billing
      • Error codes
      • Rate limits
      • Sip Trunks
      • Tool templates
      • Troubleshooting
WebsiteLinkedin
WebsiteLinkedin
  1. Campaigns

Create a campaign

POST
https://api.flireo.com/api/v1/campaigns
Campaigns
Last modified:2026-01-09 14:25:40
Maintainer:Not configured
Create a new outbound calling campaign with leads and schedule.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Examples

Responses

🟢201
application/json
Campaign created
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flireo.com/api/v1/campaigns' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Sales Outreach",
    "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
    "system_message_template": "You are calling {{name}}. Their company is {{company}}.",
    "schedule_start_time": "09:00:00",
    "schedule_end_time": "17:00:00",
    "timezone": "Europe/Amsterdam",
    "leads": [
        {
            "phone_number": "+31612345678",
            "variables": {}
        }
    ]
}'
Response Response Example
{
    "campaign": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "name": "Q1 Sales Outreach",
        "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
        "status": "draft",
        "system_message_template": "You are calling {{name}} from {{company}}. Convince them to schedule a demo.",
        "schedule_start_time": "09:00:00",
        "schedule_end_time": "17:00:00",
        "timezone": "Europe/Amsterdam",
        "total_leads": 0,
        "completed_leads": 0,
        "failed_leads": 0,
        "created_at": "2019-08-24T14:15:22.123Z",
        "updated_at": "2019-08-24T14:15:22.123Z"
    }
}
Modified at 2026-01-09 14:25:40
Previous
List all campaigns
Next
Get a campaign
Built with