Skip to main content
GET
A campaign's coupon: its kind and amount, the codes issued, assigned, used and revoked, and the pool's state (ready, preparing, short, scope_missing, unsupported, failed) with the codes it holds and needs. Never a code itself.

Authorizations

Authorization
string
header
required

An account token from Settings › Account API in the Tawked console: Authorization: Bearer tk_acct_…

Path Parameters

application
string
required

An application's id (a UUID); list them with applications.applications.list.

Pattern: ^(?:[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12})$
campaign
string
required

A campaign's id (a UUID); list them with campaigns.campaigns.list.

Pattern: ^(?:[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12})$

Response

Done.

data
object
required