Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Authorization Code flow against Dialbird's OIDC provider. The issued access token is a JWT with aud: "public-api", verified against the issuer JWKS.

FlowAuthorization Code
Authorization URL
https://app-staging.dialbird.io/oidc/auth
Token URL
https://app-staging.dialbird.io/oidc/token
Refresh URL
https://app-staging.dialbird.io/oidc/token
Scopes1
api:campaigns:write
Create campaigns and add, update, and remove their contacts.

Headers

Idempotency-Key
string

Client-generated key (≤255 chars) to make a write request safely retriable.

Maximum string length: 255

Body

application/json
name
string
required
Example:

"Q4 outbound"

inbox_ids
string[]
required

The inboxes the campaign calls and texts from, in the order its dialer rotates through them. At least one, up to 10. Inboxes the API key's user can use (admins: any).

Required array length: 1 - 10 elements
Example:
description
string | null

Response

Campaign created.

id
string
name
string
description
string | null
status
enum<string>
Available options:
active,
archived
contact_count
integer
created_at
string<date-time>
last_called_at
string<date-time> | null