Campaigns

Get campaign

Returns the campaign's status, failure code, current batch and approval state. Until status-change webhooks exist, polling this operation is the only way to learn a campaign was approved, rejected or failed. It is 404 when the account has no campaign with the ID.

get/campaigns/{id}

Request

  • Base URL
    https://api.textla.com/v1
  • Auth
    HTTP bearer

Path parameters

idstring required

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

batch_countinteger required
created_atinteger required
failure_codestring nullable required
idstring required
messagestring required
message_countinteger required
namestring required
phone_numberstring required
rejection_reasonstring nullable required
send_atinteger nullable required
statusstring required
updated_atinteger required

Example response

{
  "$schema": "/v1/schemas/Campaign.json"
}

Changes

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