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

Orders

Update order tag

Set or clear your label on an order. The tag also shows on the order's domains in GET /domains.

PATCHhttps://server.scaledmail.com/api/v1/orders/:uuid/tag
Token access
Read and write
Rate limit
40 write calls per minute per token

Path parameters

  • uuidstringrequired

    The order id (sub_...), as id in GET /orders. A few older orders have an id that starts with rec.

Headers

  • Authorizationstringrequired

    Bearer <your API token>. The token needs Read and write access, and the person who made it must be an owner or admin of the workspace.

Query parameters

  • organization_idstringrequired

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

Body

  • tagstringrequiredat most 60 characters

    The new label, at most 60 characters after spaces at the ends are removed. Send "" to clear it.

Response (200)

  • messagestringrequired

    Updated Successfully.

Responses

  • 200OK. The tag is saved.
  • 400Too long. tag is longer than 60 characters after trimming (over 320 before trimming says 320). (tag_required when tag is missing or not text.)
  • 403Not allowed. The person who made the token is not an owner or admin of the workspace.
  • 404Not found. No order with this id in this workspace, or its order form (domains and mailboxes) has not been sent yet.
  • 429Rate limited. More than 40 write calls in a minute. Wait for the Retry-After seconds.