v1 is deprecated. Please move to API v2 (recommended). v1 keeps working until March 31, 2027, then it stops. See Moving from v1.

Orders

List orders

List every order of the workspace, cancelled ones too, newest first.

GEThttps://server.scaledmail.com/api/v1/orders
Token access
Read
Rate limit
120 read calls per minute per token

The list is not paged. Use GET /orders/:uuid for the domains of one order.

Headers

  • Authorizationstringrequired

    Bearer <your API token>. Any token works (Read or Read and write).

Query parameters

  • organization_idstringrequired

    Your workspace id (org_...). Must be a workspace this token was made for.

Response (200)

  • totalintegerrequired

    How many orders are listed.

  • paymentsobject[]required

    Every order of the workspace, cancelled ones too, newest first. Not paged.

    Show child fields
    • idstringrequired

      The order id (sub_...).

    • amountnumberrequired

      Price of one invoice, in US dollars.

    • created_atstringrequired

      When the order was made (ISO 8601, UTC).

    • statusenumrequired

      Pending Form: paid, domains and mailboxes not sent yet. Active. Cancellation Request Received: cancelled, still running until the end of the paid period. Cancelled: ended.

      One of: Active Pending Form Cancellation Request Received Cancelled

    • descriptionstringoptional

      What the order holds, like 1 * SM - Google. Add-ons are not listed. Missing (or empty text for some ended orders) when there is nothing to show.

    • billing_monthsintegerrequired

      Months one invoice covers: 1, 3, 6 or 12. amount is one invoice.

Responses

  • 200OK. Always, also when the workspace has no orders (total: 0).
  • 401No token. The Authorization header is missing or not Bearer <token>.
  • 429Busy. Too many large reads are running for this workspace at once. Wait for the Retry-After seconds.
  • 429Rate limited. More than 120 read calls in a minute. Wait for the Retry-After seconds.