This page documents the canonical HTTP contract for this endpoint.
This mutates provider campaign membership. If no sender accounts are eligible, the route returns 409 with the account-pool state; it does not silently sync an empty pool.
Path parameters
integrationrequiredstring
instantly or smartlead.
campaign_idrequiredstring
Provider campaign identifier.
| Name | Type | Description |
|---|---|---|
| integrationrequired | string | instantly or smartlead. |
| campaign_idrequired | string | Provider campaign identifier. |
Body parameters
accountSelection· optionalstring
all_eligible or selected.
selectedAccounts· optionalarray<string>
Sender emails for selected mode.
minHealthScore· optionalinteger
Optional eligibility threshold.
refresh· optionalboolean
Refresh provider account state before selecting senders.
| Name | Type | Description |
|---|---|---|
| accountSelection | string | all_eligible or selected. |
| selectedAccounts | array<string> | Sender emails for selected mode. |
| minHealthScore | integer | Optional eligibility threshold. |
| refresh | boolean | Refresh provider account state before selecting senders. |
Errors
| Status | Meaning |
|---|---|
| 401 | Authentication is missing or invalid. |
| 403 | The credential is invalid or lacks the required scope. |
| 400 | Provider is unsupported or organization context is missing. |
| 422 | The typed sender-pool request body is invalid. |
| 409 | Eligible sender accounts or provider synchronization are not ready. |
