Skip to main content
POST
Requires your own API key. Client API keys get 401.Assigning a client also:
  • replaces the campaign’s SmartServer assignments with the new client’s SmartServers
  • sets the client on the campaign and its subsequences
  • shares the campaign’s leads with the new client
Sub-sequence campaigns cannot be assigned directly. Assign the parent campaign instead.

Query Parameters

string
required
Your SmartLead API key

Request Body

number
required
Campaign ID
number | null
Client ID to assign. Use null to remove the campaign’s client.
boolean | null
When true and clientId is set, the client’s DNC (block list) is applied to the campaign

Response Example

Possible message values on error: Invalid campaign Id!, Cannot assign client to a sub sequence!, Cannot assign the same client to the campaign, Invalid client Id!.