Skip to content

Add Plan Personas

POST
/mailboxes/schedule-buy/plans/{plan_id}/personas

ADD personas to a persona-mode plan. Org admin only. Add-only: a persona is never detached from a live plan.

409 for a finished plan (completed, cancelled or draft) and for a MANUAL-alias plan, which has no personas to extend. The mailboxes a persona already got stay attributed to it. Spends nothing.

Authorizations

Parameters

Path Parameters

plan_id
required

Schedule Buy plan id - from GET /mailboxes/schedule-buy/plans

integer
>= 1

Schedule Buy plan id - from GET /mailboxes/schedule-buy/plans

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Personas to ADD to a persona-mode plan. Add-only: there is no removal.

object
persona_ids
required
Array<integer>
>= 1 items <= 20 items

Responses

200

Successful Response

object
data
required

An open envelope for one provider/deliverability result.

Open on purpose. These payloads are provider state and advisory reads whose contents grow with the product, and a dropped field reads as “nothing to report” rather than “we did not tell you”. Every value passes through scrub_vendor_names on the way in.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string