Public API

Send one message to many people (up to 10000) with automatic pacing and opt-out; people who replied STOP are skipped

post/v1/campaigns

Request

  • Base URL: https://otprun.com
  • URL: https://otprun.com/v1/campaigns
  • Auth: HTTP bearer

Request body

all_contactsboolean

Send to every contact of the address book

contact_idsinteger[] nullable
footerstring
namestring required
startboolean

Start sending right away, default true; false keeps a draft for the owner to review

textstring required

{name} is replaced with the recipient's name from the address book

tostring[] nullable

Phones in international format

Response

Created

created_atstring date-time required
finished_atstring date-time nullable required
footerstring required
idinteger required
namestring required
project_idinteger required
public_idstring required
started_atstring date-time nullable required
status'draft' | 'running' | 'paused' | 'done' | 'canceled' required
textstring required
totalinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.