Conventional HTTP status codes, with a consistent JSON error body.
DMLY uses conventional HTTP status codes. Anything in the 2xx range succeeded; 4xx means the request was wrong; 5xx means something broke on our side.Every error returns the same envelope (a missing-permission 403 adds a required_scope field):
{ "message": "No query results for model [Contact]." }
Validation errors add a per-field breakdown:
{ "message": "The name field is required.", "errors": { "name": ["The name field is required."], "email": ["The email must be a valid email address."] }}
Status codes
Code
Meaning
What to do
401
Missing, invalid, or revoked API key, or its workspace was deleted
Check the key. Do not retry as-is
400
The Idempotency-Key header is empty or longer than 255 characters
Fix the header
403
The key lacks the permission for this area, the workspace has no active subscription, or it has been suspended
The key lacks a permission. The body names it, for example
{"message": "This API key does not have the \"contacts:write\" permission. Create a key that includes it.", "required_scope": "contacts:write"}.
Create a key that includes that area. An endpoint outside every area needs a key with Full access.
The subscription has ended. The body is This workspace has no active subscription. and it
applies to every request, reads included. Paying again restores access. A workspace that is only
past due keeps working over the API.
The workspace is suspended: either it was locked, or it is an agency sub-account whose agency
is no longer active. Whoever suspended it has to lift it: the agency for a sub-account, otherwise
get in touch.
A full fulfilment day
Orders can carry a fulfilment_date (the pickup or delivery day, YYYY-MM-DD). When the
workspace has daily limits and that day has no room, POST /orders and
POST /orders/{order}/confirm answer 422 with code: "date_full", the reason in message,
an errors.fulfilment_date entry, and a capacity object you can use to offer another day:
orders holds limit, booked, remaining and full when an orders-per-day limit is set, and
is null otherwise. Both orders and each product carry held: places held by A.I. orders
awaiting staff review, which count as taken until their hold runs out (such an order shows its
capacity_held_until). Confirmed orders count too; a draft you create with a date takes no place
until it is confirmed.While any daily limit is on, fulfilment_date is required on POST /orders; leaving it out
answers 422 with an errors.fulfilment_date entry.To book the day anyway, send "capacity_override": true. It works only when the team member
who created the key holds the Book orders past a full daily limit permission; otherwise the
answer is 403.
A note on 404
The API is workspace-scoped by the key. A resource that exists but belongs to a different workspace returns 404, not 403; from your key’s point of view it genuinely does not exist. If you are certain an id is valid and still get 404, you are almost always using a key from the wrong workspace.
Retrying safely
GET and DELETE are idempotent, so retry freely.POST is not, unless you send an Idempotency-Key header. A create that times out may still have succeeded, so a blind retry can produce a duplicate.Send Idempotency-Key with a unique value (1 to 255 characters) on each write. A repeat with the same key, method, path, query and body within 24 hours returns the first answer again, with the header Idempotent-Replayed: true, instead of creating a second record. A repeat while the first is still running gets 409 with Retry-After: 2. Reusing a key for a different request gets 422. Answers of 408, 409, 425, 429 and 5xx are not stored, so retrying one runs the request again.Without the header, search for the record before retrying a POST, or key off something unique (a contact’s phone number).
Retry 409, 429 and 5xx with backoff. Never retry 401, 403, or 422 unchanged; the same request will fail identically every time.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"DMLY","description":"DMLY is the WhatsApp-first customer engagement platform - unified inbox, chatbots, broadcasts, CRM, appointments and payments.","colors":{"primary":"#12715B","light":"#5EA28F","dark":"#0E5747"},"logo":{"light":"https://mintcdn.com/dmly/DoG8FVD9UVpfrD19/logo/light.png?fit=max\u0026auto=format\u0026n=DoG8FVD9UVpfrD19\u0026q=85\u0026s=7eda62740d42f25df6e609cfb033fd65","dark":"https://mintcdn.com/dmly/DoG8FVD9UVpfrD19/logo/dark.png?fit=max\u0026auto=format\u0026n=DoG8FVD9UVpfrD19\u0026q=85\u0026s=53cb5065825f4fecb021bf682d14482a","href":"https://dmly.io"},"favicon":"https://mintcdn.com/dmly/DoG8FVD9UVpfrD19/favicon.png?fit=max\u0026auto=format\u0026n=DoG8FVD9UVpfrD19\u0026q=85\u0026s=78e31d3f34df373daa56a61f9901ce65","appearance":{"default":"system"},"navbar":{"links":[{"href":"https://dmly.io/pricing","label":"Pricing"},{"href":"https://status.dmly.io","label":"Status"}],"primary":{"type":"button","label":"Open Dashboard","href":"https://dash.dmly.io"}},"footer":{"socials":{"website":"https://dmly.io"},"links":[{"header":"Product","items":[{"label":"DMLY","href":"https://dmly.io"},{"label":"Pricing","href":"https://dmly.io/pricing"},{"label":"Dashboard","href":"https://dash.dmly.io"}]},{"header":"Resources","items":[{"label":"API reference","href":"/api-reference/introduction"},{"label":"Status","href":"https://status.dmly.io"}]}]},"seo":{"metatags":{"og:site_name":"DMLY Docs"},"indexing":"navigable"},"fonts":{"heading":{"family":"Inter","weight":400},"body":{"family":"Inter"}},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":false},"contextual":{"options":["copy","view","claude","chatgpt","mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dmly","hasAudioNarration":false,"actualSubdomain":"dmly","customDomains":["docs.dmly.io"],"gitSource":{"type":"github","owner":"dmly-io","repo":"dmly-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afc993f7a39c731ddfd4fa5","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"API Reference","count":206},{"language":"default","tag":"Guides","count":154},{"language":"default","tag":"Endpoints","count":151},{"language":"default","tag":"Webhook events","count":86},{"language":"default","tag":"Messaging","count":65},{"language":"default","tag":"Workspace","count":45},{"language":"default","tag":"Agency API","count":42},{"language":"default","tag":"Business","count":30},{"language":"default","tag":"Appointments","count":25},{"language":"default","tag":"Automation \u0026 chatbots","count":22}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".update .prose-sm{font-size:1rem;line-height:1.75rem}.update .prose-sm>h2{font-size:1.625rem;line-height:1.25}.update .prose-sm>h3{font-size:1.25rem;line-height:1.75rem}.update .prose-sm code{font-size:0.875rem}#header h1,.mdx-content h2:not(.not-prose),.mdx-content h3:not(.not-prose),.mdx-content h4:not(.not-prose){font-weight:400}"}],"page":{"pagePath":"api-reference/errors","slug":"/api-reference/errors","pageMetadata":{"title":"Errors","description":"Conventional HTTP status codes, with a consistent JSON error body.","icon":"triangle-exclamation","href":"/api-reference/errors"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Conventional HTTP status codes, with a consistent JSON error body.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`DMLY uses conventional HTTP status codes. Anything in the `,_jsx(_components.code,{children:`2xx`}),` range succeeded; `,_jsx(_components.code,{children:`4xx`}),` means the request was wrong; `,_jsx(_components.code,{children:`5xx`}),` means something broke on our side.`]}),`\n`,_jsxs(_components.p,{children:[`Every error returns the same envelope (a missing-permission `,_jsx(_components.code,{children:`403`}),` adds a `,_jsx(_components.code,{children:`required_scope`}),` field):`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"message\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"No query results for model [Contact].\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Validation errors add a per-field breakdown:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"The name field is required.\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"errors\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"The name field is required.\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"The email must be a valid email address.\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`status-codes`,children:`Status codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Meaning`}),_jsx(_components.th,{children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Missing, invalid, or revoked API key, or its workspace was deleted`}),_jsx(_components.td,{children:`Check the key. Do not retry as-is`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`Idempotency-Key`}),` header is empty or longer than 255 characters`]}),_jsx(_components.td,{children:`Fix the header`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The key lacks the permission for this area, the workspace has no active subscription, or it has been suspended`}),_jsxs(_components.td,{children:[`See `,_jsx(_components.a,{href:`#a-note-on-403`,children:`A note on 403`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsxs(_components.td,{children:[`A request with the same `,_jsx(_components.code,{children:`Idempotency-Key`}),` is still being processed`]}),_jsxs(_components.td,{children:[`Wait and retry, honour `,_jsx(_components.code,{children:`Retry-After`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsxs(_components.td,{children:[`No such resource `,_jsx(_components.strong,{children:`in this workspace`})]}),_jsx(_components.td,{children:`Check the id, and that the key belongs to the right workspace`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`Validation failed, or an `,_jsx(_components.code,{children:`Idempotency-Key`}),` was reused for a different request`]}),_jsxs(_components.td,{children:[`Read `,_jsx(_components.code,{children:`errors`}),` and fix the request, or use a new key`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`/api-reference/rate-limits`,children:`Rate limit`}),` exceeded`]}),_jsxs(_components.td,{children:[`Back off, honour `,_jsx(_components.code,{children:`Retry-After`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`5xx`})}),_jsx(_components.td,{children:`Something broke on our side`}),_jsx(_components.td,{children:`Retry with backoff; if it persists, get in touch`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`a-note-on-403`,children:`A note on 403`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`403`}),` has one of three causes:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The key lacks a permission.`}),` The body names it, for example\n`,_jsx(_components.code,{children:`{\"message\": \"This API key does not have the \\\\\"contacts:write\\\\\" permission. Create a key that includes it.\", \"required_scope\": \"contacts:write\"}`}),`.\nCreate a key that includes that area. An endpoint outside every area needs a key with `,_jsx(_components.strong,{children:`Full access`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The subscription has ended.`}),` The body is `,_jsx(_components.code,{children:`This workspace has no active subscription.`}),` and it\napplies to every request, reads included. Paying again restores access. A workspace that is only\npast due keeps working over the API.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The workspace is suspended`}),`: either it was locked, or it is an agency sub-account whose agency\nis no longer active. Whoever suspended it has to lift it: the agency for a sub-account, otherwise\nget in touch.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`a-full-fulfilment-day`,children:`A full fulfilment day`}),`\n`,_jsxs(_components.p,{children:[`Orders can carry a `,_jsx(_components.code,{children:`fulfilment_date`}),` (the pickup or delivery day, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`). When the\nworkspace has daily limits and that day has no room, `,_jsx(_components.code,{children:`POST /orders`}),` and\n`,_jsx(_components.code,{children:`POST /orders/{order}/confirm`}),` answer `,_jsx(_components.code,{children:`422`}),` with `,_jsx(_components.code,{children:`code: \"date_full\"`}),`, the reason in `,_jsx(_components.code,{children:`message`}),`,\nan `,_jsx(_components.code,{children:`errors.fulfilment_date`}),` entry, and a `,_jsx(_components.code,{children:`capacity`}),` object you can use to offer another day:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Chocolate cake: 6 of 6 already booked for 2026-12-19, 0 left, 1 requested. Next dates with room: 2026-12-20, 2026-12-21, 2026-12-22.\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"date_full\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"errors\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"fulfilment_date\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Chocolate cake: 6 of 6 already booked for 2026-12-19, 0 left, 1 requested. Next dates with room: 2026-12-20, 2026-12-21, 2026-12-22.\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`] },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"capacity\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"date\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"2026-12-19\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"full\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"orders\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"products\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"product_id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Chocolate cake\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"limit\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`6`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"booked\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`6`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"held\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"requested\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"remaining\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"full\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"next_available_dates\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"2026-12-20\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"2026-12-21\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"2026-12-22\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`orders`}),` holds `,_jsx(_components.code,{children:`limit`}),`, `,_jsx(_components.code,{children:`booked`}),`, `,_jsx(_components.code,{children:`remaining`}),` and `,_jsx(_components.code,{children:`full`}),` when an orders-per-day limit is set, and\nis `,_jsx(_components.code,{children:`null`}),` otherwise. Both `,_jsx(_components.code,{children:`orders`}),` and each product carry `,_jsx(_components.code,{children:`held`}),`: places held by A.I. orders\nawaiting staff review, which count as taken until their hold runs out (such an order shows its\n`,_jsx(_components.code,{children:`capacity_held_until`}),`). Confirmed orders count too; a draft you create with a date takes no place\nuntil it is confirmed.`]}),`\n`,_jsxs(_components.p,{children:[`While any daily limit is on, `,_jsx(_components.code,{children:`fulfilment_date`}),` is required on `,_jsx(_components.code,{children:`POST /orders`}),`; leaving it out\nanswers `,_jsx(_components.code,{children:`422`}),` with an `,_jsx(_components.code,{children:`errors.fulfilment_date`}),` entry.`]}),`\n`,_jsxs(_components.p,{children:[`To book the day anyway, send `,_jsx(_components.code,{children:`\"capacity_override\": true`}),`. It works only when the team member\nwho created the key holds the `,_jsx(_components.strong,{children:`Book orders past a full daily limit`}),` permission; otherwise the\nanswer is `,_jsx(_components.code,{children:`403`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`a-note-on-404`,children:`A note on 404`}),`\n`,_jsxs(_components.p,{children:[`The API is workspace-scoped by the key. A resource that exists but belongs to a `,_jsx(_components.em,{children:`different`}),` workspace returns `,_jsx(_components.code,{children:`404`}),`, not `,_jsx(_components.code,{children:`403`}),`; from your key’s point of view it genuinely does not exist. If you are certain an id is valid and still get `,_jsx(_components.code,{children:`404`}),`, you are almost always using a key from the wrong workspace.`]}),`\n`,_jsx(Heading,{level:`2`,id:`retrying-safely`,children:`Retrying safely`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET`}),` and `,_jsx(_components.code,{children:`DELETE`}),` are idempotent, so retry freely.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST`}),` is `,_jsx(_components.strong,{children:`not`}),`, unless you send an `,_jsx(_components.code,{children:`Idempotency-Key`}),` header. A create that times out may still have succeeded, so a blind retry can produce a duplicate.`]}),`\n`,_jsxs(_components.p,{children:[`Send `,_jsx(_components.code,{children:`Idempotency-Key`}),` with a unique value (1 to 255 characters) on each write. A repeat with the same key, method, path, query and body within 24 hours returns the first answer again, with the header `,_jsx(_components.code,{children:`Idempotent-Replayed: true`}),`, instead of creating a second record. A repeat while the first is still running gets `,_jsx(_components.code,{children:`409`}),` with `,_jsx(_components.code,{children:`Retry-After: 2`}),`. Reusing a key for a different request gets `,_jsx(_components.code,{children:`422`}),`. Answers of `,_jsx(_components.code,{children:`408`}),`, `,_jsx(_components.code,{children:`409`}),`, `,_jsx(_components.code,{children:`425`}),`, `,_jsx(_components.code,{children:`429`}),` and `,_jsx(_components.code,{children:`5xx`}),` are not stored, so retrying one runs the request again.`]}),`\n`,_jsxs(_components.p,{children:[`Without the header, search for the record before retrying a `,_jsx(_components.code,{children:`POST`}),`, or key off something unique (a contact’s phone number).`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Retry `,_jsx(_components.code,{children:`409`}),`, `,_jsx(_components.code,{children:`429`}),` and `,_jsx(_components.code,{children:`5xx`}),` with backoff. Never retry `,_jsx(_components.code,{children:`401`}),`, `,_jsx(_components.code,{children:`403`}),`, or `,_jsx(_components.code,{children:`422`}),` unchanged; the same request will fail identically every time.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Errors","description":"Conventional HTTP status codes, with a consistent JSON error body.","icon":"triangle-exclamation","href":"/api-reference/errors"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Status codes","slug":"status-codes","depth":2,"children":[]},{"title":"A note on 403","slug":"a-note-on-403","depth":2,"children":[]},{"title":"A full fulfilment day","slug":"a-full-fulfilment-day","depth":2,"children":[]},{"title":"A note on 404","slug":"a-note-on-404","depth":2,"children":[]},{"title":"Retrying safely","slug":"retrying-safely","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dmly/4c7301d044212c16/livechat.js"],"subdomain":"dmly","siteName":"DMLY","title":"Errors - DMLY","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T14:51:29.857Z","originalFileLocation":"api-reference/errors.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Conventional HTTP status codes, with a consistent JSON error body.\">\u003cmeta data-mint-head name=\"application-name\" content=\"DMLY\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dmly/lfRW6ISFl91aW1aq/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dmly/lfRW6ISFl91aW1aq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dmly/lfRW6ISFl91aW1aq/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dmly/lfRW6ISFl91aW1aq/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dmly/lfRW6ISFl91aW1aq/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dmly/lfRW6ISFl91aW1aq/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dmly/lfRW6ISFl91aW1aq/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dmly/lfRW6ISFl91aW1aq/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dmly/lfRW6ISFl91aW1aq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Errors - DMLY\">\u003cmeta data-mint-head property=\"og:description\" content=\"Conventional HTTP status codes, with a consistent JSON error body.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DMLY Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dmly.io/api-reference/errors\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dmly.mintlify.site/_mintlify/api/og/v2?division=Getting+started\u0026amp;title=Errors\u0026amp;description=Conventional+HTTP+status+codes%2C+with+a+consistent+JSON+error+body.\u0026amp;theme=694b18f605ee29c306b9a4dd\u0026amp;signature=7a5b38bf9dbb484a0a80b82304bb6101673fd97c7f9ec46a7cfddf900040321d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Errors - DMLY\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Conventional HTTP status codes, with a consistent JSON error body.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dmly.mintlify.site/_mintlify/api/og/v2?division=Getting+started\u0026amp;title=Errors\u0026amp;description=Conventional+HTTP+status+codes%2C+with+a+consistent+JSON+error+body.\u0026amp;theme=694b18f605ee29c306b9a4dd\u0026amp;signature=7a5b38bf9dbb484a0a80b82304bb6101673fd97c7f9ec46a7cfddf900040321d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dmly/lfRW6ISFl91aW1aq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DMLY\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#12715B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dmly.io/api-reference/errors\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/errors.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dmly.io/#organization\",\"name\":\"DMLY\",\"url\":\"https://docs.dmly.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dmly/DoG8FVD9UVpfrD19/logo/light.png?fit=max\u0026auto=format\u0026n=DoG8FVD9UVpfrD19\u0026q=85\u0026s=7eda62740d42f25df6e609cfb033fd65\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dmly.io#website\",\"name\":\"DMLY\",\"url\":\"https://docs.dmly.io\",\"publisher\":{\"@id\":\"https://docs.dmly.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dmly.io/api-reference/errors#webpage\",\"url\":\"https://docs.dmly.io/api-reference/errors\",\"name\":\"Errors\",\"description\":\"Conventional HTTP status codes, with a consistent JSON error body.\",\"dateModified\":\"2026-10-27T14:51:29.857Z\",\"isPartOf\":{\"@id\":\"https://docs.dmly.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dmly.io/api-reference/errors#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dmly.io/api-reference/errors#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Getting started\",\"item\":\"https://docs.dmly.io/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Errors\",\"item\":\"https://docs.dmly.io/api-reference/errors\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.dmly.io/api-reference/errors#article\",\"headline\":\"Errors\",\"name\":\"Errors\",\"description\":\"Conventional HTTP status codes, with a consistent JSON error body.\",\"url\":\"https://docs.dmly.io/api-reference/errors\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dmly.io/api-reference/errors#webpage\"},\"dateModified\":\"2026-10-27T14:51:29.857Z\",\"publisher\":{\"@id\":\"https://docs.dmly.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dmly.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DMLY\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"DMLY\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/errors.md","siteName":"DMLY","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Getting started","icon":"key","pages":[{"title":"Introduction","icon":"code","href":"/api-reference/introduction"},{"title":"Authentication","icon":"key","href":"/api-reference/authentication"},{"title":"Pagination","description":"List endpoints return data, links and meta. Page with ?page and size with ?per_page.","icon":"list","href":"/api-reference/pagination"},{"title":"Errors","icon":"triangle-exclamation","href":"/api-reference/errors"},{"title":"Rate limits","description":"60 requests per minute on the workspace REST API, counted per API key; every key gets its own budget.","icon":"gauge-high","href":"/api-reference/rate-limits"},{"title":"Webhooks","icon":"bolt","href":"/api-reference/webhooks"}]},{"group":"Endpoints","pages":[{"group":"Account","expanded":false,"pages":[{"title":"Get the authenticated workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /account","href":"/api-reference/account/get-the-authenticated-workspace"}]},{"group":"Channels","expanded":false,"pages":[{"title":"List connected messaging channels.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /channels","href":"/api-reference/channels/list-connected-messaging-channels"},{"title":"Retrieve a single connected channel.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /channels/{channel}","href":"/api-reference/channels/retrieve-a-single-connected-channel"}]},{"group":"Contacts","expanded":false,"pages":[{"title":"List contacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /contacts","href":"/api-reference/contacts/create-a-contact"},{"title":"Get a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /contacts/{contact}","href":"/api-reference/contacts/get-a-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /contacts/{contact}","href":"/api-reference/contacts/update-a-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /contacts/{contact}","href":"/api-reference/contacts/delete-a-contact"},{"title":"Add tags to a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /contacts/{contact}/tags","href":"/api-reference/contacts/add-tags-to-a-contact"},{"title":"Remove tags from a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /contacts/{contact}/tags","href":"/api-reference/contacts/remove-tags-from-a-contact"},{"title":"Add a note to a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /contacts/{contact}/notes","href":"/api-reference/contacts/add-a-note-to-a-contact"},{"title":"Set a contact's pipeline stage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /contacts/{contact}/stage","href":"/api-reference/contacts/set-a-contacts-pipeline-stage"},{"title":"Set a contact's lifecycle stage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /contacts/{contact}/lifecycle","href":"/api-reference/contacts/set-a-contacts-lifecycle-stage"},{"title":"Download all data held about a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /contacts/{contact}/data-export","href":"/api-reference/contacts/download-all-data-held-about-a-contact"}]},{"group":"Tags","expanded":false,"pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tags","href":"/api-reference/tags/list-tags"},{"title":"Create a tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /tags","href":"/api-reference/tags/create-a-tag"},{"title":"Get a tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tags/{tag}","href":"/api-reference/tags/get-a-tag"},{"title":"Update a tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /tags/{tag}","href":"/api-reference/tags/update-a-tag"},{"title":"Delete a tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /tags/{tag}","href":"/api-reference/tags/delete-a-tag"}]},{"group":"Segments","expanded":false,"pages":[{"title":"List saved contact segments.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /segments","href":"/api-reference/segments/list-saved-contact-segments"},{"title":"Create a saved contact segment.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /segments","href":"/api-reference/segments/create-a-saved-contact-segment"},{"title":"Retrieve a single segment.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /segments/{segment}","href":"/api-reference/segments/retrieve-a-single-segment"},{"title":"Update a saved contact segment.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /segments/{segment}","href":"/api-reference/segments/update-a-saved-contact-segment"},{"title":"Delete a saved contact segment.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /segments/{segment}","href":"/api-reference/segments/delete-a-saved-contact-segment"},{"title":"List the contacts matching a segment.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /segments/{segment}/contacts","href":"/api-reference/segments/list-the-contacts-matching-a-segment"}]},{"group":"Conversations \u0026 Messages","expanded":false,"pages":[{"title":"List conversations (the unified inbox).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /conversations","href":"/api-reference/conversations-\u0026-messages/list-conversations-the-unified-inbox"},{"title":"List the messages in one conversation thread.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /conversations/{contact}/messages","href":"/api-reference/conversations-\u0026-messages/list-the-messages-in-one-conversation-thread"},{"title":"Send a message into a conversation.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /messages","href":"/api-reference/conversations-\u0026-messages/send-a-message-into-a-conversation"}]},{"group":"Broadcasts","expanded":false,"pages":[{"title":"List broadcasts in the workspace.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /broadcasts","href":"/api-reference/broadcasts/list-broadcasts-in-the-workspace"},{"title":"Create a broadcast.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /broadcasts","href":"/api-reference/broadcasts/create-a-broadcast"},{"title":"Retrieve a single broadcast.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /broadcasts/{broadcast}","href":"/api-reference/broadcasts/retrieve-a-single-broadcast"},{"title":"Update a broadcast (PUT or PATCH).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /broadcasts/{broadcast}","href":"/api-reference/broadcasts/update-a-broadcast-put-or-patch"},{"title":"Delete a broadcast.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /broadcasts/{broadcast}","href":"/api-reference/broadcasts/delete-a-broadcast"},{"title":"Approve a held broadcast.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /broadcasts/{broadcast}/approve","href":"/api-reference/broadcasts/approve-a-held-broadcast"},{"title":"Send a broadcast now.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /broadcasts/{broadcast}/send","href":"/api-reference/broadcasts/send-a-broadcast-now"},{"title":"List a broadcast's recipients.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /broadcasts/{broadcast}/recipients","href":"/api-reference/broadcasts/list-a-broadcasts-recipients"}]},{"group":"Automations","expanded":false,"pages":[{"title":"List automations in the workspace.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /automations","href":"/api-reference/automations/list-automations-in-the-workspace"},{"title":"Retrieve a single automation.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /automations/{automation}","href":"/api-reference/automations/retrieve-a-single-automation"},{"title":"Activate an automation.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /automations/{automation}/activate","href":"/api-reference/automations/activate-an-automation"},{"title":"Pause an automation.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /automations/{automation}/pause","href":"/api-reference/automations/pause-an-automation"}]},{"group":"Appointments","expanded":false,"pages":[{"title":"List 1:1 appointments (paginated).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /appointments","href":"/api-reference/appointments/list-1:1-appointments-paginated"},{"title":"List open booking slots for a service.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /appointments/slots","href":"/api-reference/appointments/list-open-booking-slots-for-a-service"},{"title":"Book a 1:1 appointment.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /appointments","href":"/api-reference/appointments/book-a-1:1-appointment"},{"title":"Get one appointment.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /appointments/{booking}","href":"/api-reference/appointments/get-one-appointment"},{"title":"Reschedule an appointment.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /appointments/{booking}/reschedule","href":"/api-reference/appointments/reschedule-an-appointment"},{"title":"Cancel an appointment.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /appointments/{booking}/cancel","href":"/api-reference/appointments/cancel-an-appointment"},{"title":"Mark an appointment completed or no-show.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /appointments/{booking}/status","href":"/api-reference/appointments/mark-an-appointment-completed-or-no-show"}]},{"group":"Services \u0026 Categories","expanded":false,"pages":[{"title":"List catalogue services (paginated).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /services","href":"/api-reference/services-\u0026-service-categories/list-catalogue-services-paginated"},{"title":"Create a catalogue service.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /services","href":"/api-reference/services-\u0026-service-categories/create-a-catalogue-service"},{"title":"Retrieve a single service.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /services/{service}","href":"/api-reference/services-\u0026-service-categories/retrieve-a-single-service"},{"title":"Update a service (full or partial).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /services/{service}","href":"/api-reference/services-\u0026-service-categories/update-a-service-full-or-partial"},{"title":"Delete (or deactivate) a service.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /services/{service}","href":"/api-reference/services-\u0026-service-categories/delete-or-deactivate-a-service"},{"title":"List service categories (paginated).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /service-categories","href":"/api-reference/services-\u0026-service-categories/list-service-categories-paginated"},{"title":"Create a service category.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /service-categories","href":"/api-reference/services-\u0026-service-categories/create-a-service-category"},{"title":"Retrieve a single category.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /service-categories/{category}","href":"/api-reference/services-\u0026-service-categories/retrieve-a-single-category"},{"title":"Update a category (full or partial).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /service-categories/{category}","href":"/api-reference/services-\u0026-service-categories/update-a-category-full-or-partial"},{"title":"Delete a category.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /service-categories/{category}","href":"/api-reference/services-\u0026-service-categories/delete-a-category"}]},{"group":"Staff","expanded":false,"pages":[{"title":"List bookable staff members.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /staff","href":"/api-reference/staff/list-bookable-staff-members"},{"title":"Create a staff member.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /staff","href":"/api-reference/staff/create-a-staff-member"},{"title":"Retrieve a single staff member.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /staff/{staff}","href":"/api-reference/staff/retrieve-a-single-staff-member"},{"title":"Update a staff member.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /staff/{staff}","href":"/api-reference/staff/update-a-staff-member"},{"title":"Delete a staff member.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /staff/{staff}","href":"/api-reference/staff/delete-a-staff-member"},{"title":"Get a staff member's availability.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /staff/{staff}/availability","href":"/api-reference/staff/get-a-staff-members-availability"},{"title":"Add time off for a staff member.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /staff/{staff}/time-off","href":"/api-reference/staff/add-time-off-for-a-staff-member"},{"title":"Delete a staff member's time off.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /staff/{staff}/time-off/{override}","href":"/api-reference/staff/delete-a-staff-members-time-off"}]},{"group":"Classes","expanded":false,"pages":[{"title":"List group-class sessions.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /classes","href":"/api-reference/classes/list-group-class-sessions"},{"title":"Create a group-class session.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /classes","href":"/api-reference/classes/create-a-group-class-session"},{"title":"Retrieve a single group-class session.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /classes/{session}","href":"/api-reference/classes/retrieve-a-single-group-class-session"},{"title":"Update a group-class session.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /classes/{session}","href":"/api-reference/classes/update-a-group-class-session"},{"title":"Delete a group-class session.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /classes/{session}","href":"/api-reference/classes/delete-a-group-class-session"},{"title":"List a session's participants.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /classes/{session}/participants","href":"/api-reference/classes/list-a-sessions-participants"},{"title":"Book a contact into a session.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /classes/{session}/participants","href":"/api-reference/classes/book-a-contact-into-a-session"},{"title":"Cancel a participant's place.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /classes/{session}/participants/{participant}","href":"/api-reference/classes/cancel-a-participants-place"}]},{"group":"Offerings","expanded":false,"pages":[{"title":"List products in the Offerings catalogue.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /products","href":"/api-reference/offerings-—-products-\u0026-plans/list-products-in-the-offerings-catalogue"},{"title":"Create a product.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /products","href":"/api-reference/offerings-—-products-\u0026-plans/create-a-product"},{"title":"Get a single product.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /products/{product}","href":"/api-reference/offerings-—-products-\u0026-plans/get-a-single-product"},{"title":"Update a product (PUT or PATCH).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /products/{product}","href":"/api-reference/offerings-—-products-\u0026-plans/update-a-product-put-or-patch"},{"title":"Delete a product.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /products/{product}","href":"/api-reference/offerings-—-products-\u0026-plans/delete-a-product"},{"title":"List plans/packages in the Offerings catalogue.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /plans","href":"/api-reference/offerings-—-products-\u0026-plans/list-planspackages-in-the-offerings-catalogue"},{"title":"Create a plan/package.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /plans","href":"/api-reference/offerings-—-products-\u0026-plans/create-a-planpackage"},{"title":"Get a single plan/package.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /plans/{plan}","href":"/api-reference/offerings-—-products-\u0026-plans/get-a-single-planpackage"},{"title":"Update a plan/package (PUT or PATCH).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /plans/{plan}","href":"/api-reference/offerings-—-products-\u0026-plans/update-a-planpackage-put-or-patch"},{"title":"Delete a plan/package.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /plans/{plan}","href":"/api-reference/offerings-—-products-\u0026-plans/delete-a-planpackage"}]},{"group":"Invoices","expanded":false,"pages":[{"title":"List invoices for the workspace.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /invoices","href":"/api-reference/finance-—-invoices/list-invoices-for-the-workspace"},{"title":"Create a draft invoice from line items.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /invoices","href":"/api-reference/finance-—-invoices/create-a-draft-invoice-from-line-items"},{"title":"Create one invoice per contact in an audience (bulk).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /invoices/bulk","href":"/api-reference/finance-—-invoices/create-one-invoice-per-contact-in-an-audience-bulk"},{"title":"Retrieve a bulk invoicing run and its summary.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /invoices/bulk/{batch}","href":"/api-reference/finance-—-invoices/retrieve-a-bulk-invoicing-run-and-its-summary"},{"title":"Retrieve a single invoice.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /invoices/{invoice}","href":"/api-reference/finance-—-invoices/retrieve-a-single-invoice"},{"title":"Send (finalise) an invoice.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /invoices/{invoice}/send","href":"/api-reference/finance-—-invoices/send-finalise-an-invoice"},{"title":"Record a manual payment against an invoice.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /invoices/{invoice}/payments","href":"/api-reference/finance-—-invoices/record-a-manual-payment-against-an-invoice"},{"title":"Void an invoice.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /invoices/{invoice}/void","href":"/api-reference/finance-—-invoices/void-an-invoice"}]},{"group":"Orders","expanded":false,"pages":[{"title":"List orders (paginated).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /orders","href":"/api-reference/finance-—-orders/list-orders-paginated"},{"title":"Create a draft order from offering/custom selections.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /orders","href":"/api-reference/finance-—-orders/create-a-draft-order-from-offeringcustom-selections"},{"title":"Retrieve a single order.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /orders/{order}","href":"/api-reference/finance-—-orders/retrieve-a-single-order"},{"title":"Confirm an order.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /orders/{order}/confirm","href":"/api-reference/finance-—-orders/confirm-an-order"},{"title":"Cancel an order.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /orders/{order}/cancel","href":"/api-reference/finance-—-orders/cancel-an-order"}]},{"group":"Payments \u0026 Coupons","expanded":false,"pages":[{"title":"List payments in the unified ledger.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payments","href":"/api-reference/finance-—-payments-\u0026-coupons/list-payments-in-the-unified-ledger"},{"title":"Record a manual payment for a contact.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /payments","href":"/api-reference/finance-—-payments-\u0026-coupons/record-a-manual-payment-for-a-contact"},{"title":"Retrieve a single payment.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payments/{payment}","href":"/api-reference/finance-—-payments-\u0026-coupons/retrieve-a-single-payment"},{"title":"Refund a payment (full or partial).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /payments/{payment}/refund","href":"/api-reference/finance-—-payments-\u0026-coupons/refund-a-payment-full-or-partial"},{"title":"List discount coupons.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /coupons","href":"/api-reference/finance-—-payments-\u0026-coupons/list-discount-coupons"},{"title":"Create a discount coupon.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /coupons","href":"/api-reference/finance-—-payments-\u0026-coupons/create-a-discount-coupon"},{"title":"Retrieve a single coupon.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /coupons/{coupon}","href":"/api-reference/finance-—-payments-\u0026-coupons/retrieve-a-single-coupon"},{"title":"Update a discount coupon (PUT or PATCH).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /coupons/{coupon}","href":"/api-reference/finance-—-payments-\u0026-coupons/update-a-discount-coupon-put-or-patch"},{"title":"Delete a discount coupon.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /coupons/{coupon}","href":"/api-reference/finance-—-payments-\u0026-coupons/delete-a-discount-coupon"}]},{"group":"Subscriptions","expanded":false,"pages":[{"title":"List subscriptions for the workspace.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /subscriptions","href":"/api-reference/finance-—-subscriptions/list-subscriptions-for-the-workspace"},{"title":"Subscribe a contact to a plan.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /subscriptions","href":"/api-reference/finance-—-subscriptions/subscribe-a-contact-to-a-plan"},{"title":"Retrieve a single subscription.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /subscriptions/{subscription}","href":"/api-reference/finance-—-subscriptions/retrieve-a-single-subscription"},{"title":"Pause an active subscription.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /subscriptions/{subscription}/pause","href":"/api-reference/finance-—-subscriptions/pause-an-active-subscription"},{"title":"Resume a paused subscription.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /subscriptions/{subscription}/resume","href":"/api-reference/finance-—-subscriptions/resume-a-paused-subscription"},{"title":"Cancel a subscription.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /subscriptions/{subscription}/cancel","href":"/api-reference/finance-—-subscriptions/cancel-a-subscription"},{"title":"Change a subscription's plan.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /subscriptions/{subscription}/change-plan","href":"/api-reference/finance-—-subscriptions/change-a-subscriptions-plan"}]},{"group":"Gift Cards","expanded":false,"pages":[{"title":"List gift cards.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /gift-cards","href":"/api-reference/gift-cards/list-gift-cards"},{"title":"Sell or issue a gift card.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /gift-cards","href":"/api-reference/gift-cards/sell-or-issue-a-gift-card"},{"title":"Redeem a gift card against an invoice.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /gift-cards/redeem","href":"/api-reference/gift-cards/redeem-a-gift-card-against-an-invoice"},{"title":"Retrieve a single gift card.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /gift-cards/{giftCard}","href":"/api-reference/gift-cards/retrieve-a-single-gift-card"}]},{"group":"Webhooks","expanded":false,"pages":[{"title":"Get the workspace's first webhook endpoint.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /webhooks","href":"/api-reference/webhooks/get-the-workspaces-first-webhook-endpoint"},{"title":"Update the workspace's first webhook endpoint.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /webhooks","href":"/api-reference/webhooks/update-the-workspaces-first-webhook-endpoint"},{"title":"Disconnect the workspace's first webhook endpoint.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /webhooks","href":"/api-reference/webhooks/disconnect-the-workspaces-first-webhook-endpoint"},{"title":"List the full subscribable event catalogue, grouped.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /webhooks/events","href":"/api-reference/webhooks/list-the-full-subscribable-event-catalogue-grouped"}]},{"group":"Media","expanded":false,"pages":[{"title":"List media library items (paginated).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /media","href":"/api-reference/media/list-media-library-items-paginated"},{"title":"Upload a file to the media library.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /media","href":"/api-reference/media/upload-a-file-to-the-media-library"},{"title":"Retrieve a single media item.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /media/{media}","href":"/api-reference/media/retrieve-a-single-media-item"},{"title":"Delete a media item.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /media/{media}","href":"/api-reference/media/delete-a-media-item"}]}]},{"group":"Webhook events","icon":"bolt","expanded":false,"pages":[{"group":"Contacts \u0026 clients","expanded":false,"pages":[{"title":"New contact","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook contact.created","href":"/api-reference/webhooks-contacts-and-clients/new-contact"},{"title":"Contact updated","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook contact.updated","href":"/api-reference/webhooks-contacts-and-clients/contact-updated"},{"title":"Tag added","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook contact.tagged","href":"/api-reference/webhooks-contacts-and-clients/tag-added"},{"title":"Tag removed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook contact.untagged","href":"/api-reference/webhooks-contacts-and-clients/tag-removed"},{"title":"Pipeline stage changed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook contact.stage_changed","href":"/api-reference/webhooks-contacts-and-clients/pipeline-stage-changed"},{"title":"Lifecycle changed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook contact.lifecycle_changed","href":"/api-reference/webhooks-contacts-and-clients/lifecycle-changed"},{"title":"Became a client","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook contact.converted_to_client","href":"/api-reference/webhooks-contacts-and-clients/became-a-client"},{"title":"Birthday key date","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook contact.date_reached","href":"/api-reference/webhooks-contacts-and-clients/birthday-key-date"},{"title":"Facebook lead form submitted","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook lead.created","href":"/api-reference/webhooks-contacts-and-clients/facebook-lead-form-submitted"}]},{"group":"Conversations","expanded":false,"pages":[{"title":"Inbound message received","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook message.received","href":"/api-reference/webhooks-conversations/inbound-message-received"},{"title":"Conversation assigned","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook conversation.assigned","href":"/api-reference/webhooks-conversations/conversation-assigned"},{"title":"Conversation closed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook conversation.closed","href":"/api-reference/webhooks-conversations/conversation-closed"}]},{"group":"Calls","expanded":false,"pages":[{"title":"Incoming call","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook call.incoming","href":"/api-reference/webhooks-calls/incoming-call"},{"title":"Call completed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook call.completed","href":"/api-reference/webhooks-calls/call-completed"},{"title":"Missed call","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook call.missed","href":"/api-reference/webhooks-calls/missed-call"},{"title":"Call declined","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook call.rejected","href":"/api-reference/webhooks-calls/call-declined"}]},{"group":"Message lifecycle","expanded":false,"pages":[{"title":"Message sent","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook message.sent","href":"/api-reference/webhooks-message-lifecycle/message-sent"},{"title":"Message delivered","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook message.delivered","href":"/api-reference/webhooks-message-lifecycle/message-delivered"},{"title":"Message read seen","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook message.read_or_seen","href":"/api-reference/webhooks-message-lifecycle/message-read-seen"},{"title":"Message failed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook message.failed","href":"/api-reference/webhooks-message-lifecycle/message-failed"}]},{"group":"Appointments","expanded":false,"pages":[{"title":"Appointment scheduled","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook booking.created","href":"/api-reference/webhooks-appointments/appointment-scheduled"},{"title":"Appointment confirmed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook appointment.confirmed","href":"/api-reference/webhooks-appointments/appointment-confirmed"},{"title":"Appointment rescheduled","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook booking.rescheduled","href":"/api-reference/webhooks-appointments/appointment-rescheduled"},{"title":"Appointment cancelled","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook booking.cancelled","href":"/api-reference/webhooks-appointments/appointment-cancelled"},{"title":"Appointment completed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook appointment.completed","href":"/api-reference/webhooks-appointments/appointment-completed"},{"title":"Appointment no show","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook appointment.no_show","href":"/api-reference/webhooks-appointments/appointment-no-show"},{"title":"Appointment reminder due","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook appointment.reminder_due","href":"/api-reference/webhooks-appointments/appointment-reminder-due"},{"title":"Appointment starts soon","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook appointment.starts_soon","href":"/api-reference/webhooks-appointments/appointment-starts-soon"}]},{"group":"Classes","expanded":false,"pages":[{"title":"Class booked","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook class.booked","href":"/api-reference/webhooks-classes/class-booked"},{"title":"Class cancelled","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook class.cancelled","href":"/api-reference/webhooks-classes/class-cancelled"},{"title":"Joined class waitlist","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook class.waitlisted","href":"/api-reference/webhooks-classes/joined-class-waitlist"},{"title":"Class seat opened","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook class.seat_opened","href":"/api-reference/webhooks-classes/class-seat-opened"},{"title":"Class full","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook class.full","href":"/api-reference/webhooks-classes/class-full"},{"title":"Class starts soon","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook class.starts_soon","href":"/api-reference/webhooks-classes/class-starts-soon"}]},{"group":"Invoices","expanded":false,"pages":[{"title":"Invoice created draft","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook invoice.created","href":"/api-reference/webhooks-invoices/invoice-created-draft"},{"title":"Invoice sent","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook invoice.sent","href":"/api-reference/webhooks-invoices/invoice-sent"},{"title":"Invoice partially paid","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook invoice.partially_paid","href":"/api-reference/webhooks-invoices/invoice-partially-paid"},{"title":"Invoice fully paid","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook invoice.paid","href":"/api-reference/webhooks-invoices/invoice-fully-paid"},{"title":"Invoice overdue","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook invoice.overdue","href":"/api-reference/webhooks-invoices/invoice-overdue"},{"title":"Invoice voided","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook invoice.voided","href":"/api-reference/webhooks-invoices/invoice-voided"}]},{"group":"Orders","expanded":false,"pages":[{"title":"Order created","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook order.created","href":"/api-reference/webhooks-orders/order-created"},{"title":"Order confirmed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook order.confirmed","href":"/api-reference/webhooks-orders/order-confirmed"},{"title":"Order paid","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook order.paid","href":"/api-reference/webhooks-orders/order-paid"},{"title":"Order cancelled","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook order.cancelled","href":"/api-reference/webhooks-orders/order-cancelled"}]},{"group":"Payments","expanded":false,"pages":[{"title":"Payment succeeded","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook payment.succeeded","href":"/api-reference/webhooks-payments/payment-succeeded"},{"title":"Payment failed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook payment.failed","href":"/api-reference/webhooks-payments/payment-failed"},{"title":"Payment refunded","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook payment.refunded","href":"/api-reference/webhooks-payments/payment-refunded"}]},{"group":"Subscriptions","expanded":false,"pages":[{"title":"Subscription created","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook subscription.created","href":"/api-reference/webhooks-subscriptions/subscription-created"},{"title":"Subscription renewed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook subscription.renewed","href":"/api-reference/webhooks-subscriptions/subscription-renewed"},{"title":"Subscription plan changed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook subscription.plan_changed","href":"/api-reference/webhooks-subscriptions/subscription-plan-changed"},{"title":"Subscription paused","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook subscription.paused","href":"/api-reference/webhooks-subscriptions/subscription-paused"},{"title":"Subscription cancelled","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook subscription.cancelled","href":"/api-reference/webhooks-subscriptions/subscription-cancelled"},{"title":"Subscription payment failed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook subscription.payment_failed","href":"/api-reference/webhooks-subscriptions/subscription-payment-failed"}]},{"group":"Offerings \u0026 credits","expanded":false,"pages":[{"title":"Credits issued","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook credits.issued","href":"/api-reference/webhooks-offerings-and-credits/credits-issued"},{"title":"Credits used","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook credits.used","href":"/api-reference/webhooks-offerings-and-credits/credits-used"},{"title":"Credits low","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook credits.low","href":"/api-reference/webhooks-offerings-and-credits/credits-low"},{"title":"Coupon redeemed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook coupon.redeemed","href":"/api-reference/webhooks-offerings-and-credits/coupon-redeemed"},{"title":"Loyalty points activity","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook loyalty.transaction","href":"/api-reference/webhooks-offerings-and-credits/loyalty-points-activity"},{"title":"Product stock low","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook offering.stock_low","href":"/api-reference/webhooks-offerings-and-credits/product-stock-low"},{"title":"Product back in stock","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook offering.back_in_stock","href":"/api-reference/webhooks-offerings-and-credits/product-back-in-stock"}]},{"group":"Store (e-commerce)","expanded":false,"pages":[{"title":"Store order placed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook store.order_created","href":"/api-reference/webhooks-store-e-commerce/store-order-placed"},{"title":"Store order paid","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook store.order_paid","href":"/api-reference/webhooks-store-e-commerce/store-order-paid"},{"title":"Store payment failed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook store.payment_failed","href":"/api-reference/webhooks-store-e-commerce/store-payment-failed"},{"title":"Checkout abandoned","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook store.checkout_abandoned","href":"/api-reference/webhooks-store-e-commerce/checkout-abandoned"},{"title":"Store order shipped","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook store.order_fulfilled","href":"/api-reference/webhooks-store-e-commerce/store-order-shipped"},{"title":"Store order cancelled","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook store.order_cancelled","href":"/api-reference/webhooks-store-e-commerce/store-order-cancelled"},{"title":"Store order refunded","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook store.order_refunded","href":"/api-reference/webhooks-store-e-commerce/store-order-refunded"},{"title":"Product back in stock store","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook store.product_back_in_stock","href":"/api-reference/webhooks-store-e-commerce/product-back-in-stock-store"},{"title":"Inventory low","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook store.inventory_low","href":"/api-reference/webhooks-store-e-commerce/inventory-low"},{"title":"Customer milestone","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook store.customer_milestone","href":"/api-reference/webhooks-store-e-commerce/customer-milestone"}]},{"group":"Automations","expanded":false,"pages":[{"title":"Automation triggered","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook automation.triggered","href":"/api-reference/webhooks-automations/automation-triggered"},{"title":"Automation completed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook automation.completed","href":"/api-reference/webhooks-automations/automation-completed"},{"title":"Automation failed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook automation.failed","href":"/api-reference/webhooks-automations/automation-failed"}]},{"group":"Broadcasts","expanded":false,"pages":[{"title":"Broadcast sent","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook broadcast.sent","href":"/api-reference/webhooks-broadcasts/broadcast-sent"},{"title":"Broadcast completed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook broadcast.completed","href":"/api-reference/webhooks-broadcasts/broadcast-completed"},{"title":"Broadcast failed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook broadcast.failed","href":"/api-reference/webhooks-broadcasts/broadcast-failed"}]}]}]},{"tab":"Agency API","icon":"building","pages":[{"title":"Agency API","href":"/api-reference/agency-introduction"}]},{"tab":"MCP","icon":"plug","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog/overview"}]}]},"basePath":"","title":"Errors - DMLY","deploymentId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","buildId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","dynamics":[],"chunks":[]}