Skip to main content
PUT /v1/projects/{id}/platforms/sms/lines/{resourceId}/campaign Attach a ready campaign from this project’s organization to its line. Requires platforms:write for the project; human and machine actors retain their authenticated identity. Requires a permanent Idempotency-Key and the current assignment version. Provider provisioning runs asynchronously.
TypeScript

Parameters

string
required
Identifies one logical mutation across retries.
string
required
string
required

Body

string
required
integer
required

Returns

200 The original terminal operation on an authorized replay. No Retry-After is emitted. Operation Headers: Cache-Control, Location. The raw response carries these headers; see Raw responses.
boolean
required
string (date-time)
required
object
string (date-time)
OperationError
string
required
string
required
OperationReason
string
string
required
string (date-time)
OperationState
required
OperationType
required
string (date-time)
required
202 Assignment accepted. Poll the operation Location until terminal. Operation Headers: Cache-Control, Location. The raw response carries these headers; see Raw responses.
boolean
required
string (date-time)
required
object
string (date-time)
OperationError
string
required
string
required
OperationReason
string
string
required
string (date-time)
OperationState
required
OperationType
required
string (date-time)
required