JavaScript SDK: swarmhit.managedDomains.get(managedDomainId, params?)
One of the workspace's domains, bought or own: its room for mailboxes, and for an own domain where its connection stands. With orgWide=true, an organization's key also finds its workspaces' domains, each naming its workspace; acting on one (check, delete) takes X-Swarmhit-Workspace naming that workspace.
Authorization
bearerAuth An API key created on the Access tokens page.
In: header
Path Parameters
Query Parameters
Also the organization's workspaces' domains (an organization's key).
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/managed-domains/string"{ "data": { "id": "string", "name": "string", "workspaceId": "string", "workspaceName": "string", "platform": "google", "live": 0, "pending": 0, "slotsLeft": 0, "canAdd": true, "reason": "full", "adminEmail": "string", "takenEmails": [ "string" ], "source": "purchased", "connection": { "state": "nameservers", "stateLabel": "string", "nameservers": [ "string" ], "currentNameservers": [ "string" ], "nameserversChangedAt": "2019-08-24T14:15:22Z", "websiteRecords": [ { "type": "A", "host": "@", "value": "string" } ], "websiteRecordsCopied": true, "dnssec": true, "checkedAt": "2019-08-24T14:15:22Z", "readyAt": "2019-08-24T14:15:22Z", "movedAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z", "registrarExpiresAt": "2019-08-24T14:15:22Z" }, "emailVerification": { "status": "pending", "deadline": "2019-08-24T14:15:22Z" } }}Get a mailbox order GET
**JavaScript SDK:** [`swarmhit.mailboxOrders.get(mailboxOrderId, params?)`](/smart-api/sdk/methods#mailboxOrders) One order with every domain and mailbox and its step. By default only an order of the acting workspace, as it always was. With `orgWide=true`, an organization's key acting as the organization also finds the orders of the workspaces inside it, and the order carries `workspaceId` and `workspaceName`.
List mailbox orders GET
**JavaScript SDK:** [`swarmhit.mailboxOrders.list(params?)`](/smart-api/sdk/methods#mailboxOrders) The workspace's orders, newest first, each with its domains and mailboxes and the step each mailbox is at. By default the list is the acting workspace's own, as it always was. Optional, for an organization's key acting as the organization (no `X-Swarmhit-Workspace`): `orgWide=true` adds the orders of every workspace inside it, and `workspaceId` picks one of them. With either one, each order also carries `workspaceId` and `workspaceName`.