JavaScript SDK: swarmhit.senders.update(senderId, params)
Only the fields given are written (at least one). A list replaces the sender's accounts of that kind ([] unlinks them all), and linkedinAccountId replaces its LinkedIn account (null unlinks it). An account linked here leaves the sender it had.
Authorization
bearerAuth An API key created on the Access tokens page.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/senders/string" \ -H "Content-Type: application/json" \ -d '{ "emailAccountIds": [ "mBx123", "mBx456", "mBx789" ] }'{ "data": { "id": "string", "firstName": "string", "lastName": "string", "name": "string", "picture": "string", "managerIds": [ "string" ], "linkedinAccountId": "string", "emailAccountIds": [ "string" ], "whatsappAccountIds": [ "string" ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}List senders GET
**JavaScript SDK:** [`swarmhit.senders.list(params?)`](/smart-api/sdk/methods#senders) Oldest first, each with its accounts.
Get a mailbox's warmup GET
**JavaScript SDK:** [`swarmhit.emailAccounts.warmup.get(emailAccountId)`](/smart-api/sdk/methods#emailAccounts.warmup) Warmup of a mailbox bought through Swarmhit: status, strategy, warmup day, current and target daily volume, health, inbox rate, and the campaign hold (`holdUntil`, `holdReason`). `limits.maxTarget` is the highest target volume this mailbox may warm to (the email tier's ceiling minus its campaign cap). `409` with `code: not-managed` for a mailbox the workspace connected itself: warmup is available for mailboxes bought through Swarmhit.