{ "id": 42709, "user_id": 2, "replayed_from_order_id": 42708, "type": "postcard", "size": "4x6", "message": "Hey %FIRST_NAME%!,\n\nTHANK YOU for allowing us the opportunity to HELP you with your plan!", "front_image": "https://cdn.thanks.io/letter-backgrounds/bg0.png", "total_estimated_recipients": 1, "authorization_total": 73, "status": "reviewing", "method": "api", "display_status": "Reviewing", "display_trigger": "API", "display_type": "Postcard-4x6", "metadata": { "crm_deal_id": "D-1042" }}
Account
Replay Order
Submit a copy of a previously placed order as a brand-new order. The same creative is charged and mailed again, and the original order is left untouched. By default the replay is sent to the recipients the original actually reached (failed items are excluded). Supply a recipients array to send the same creative to a different audience instead.
Only settled, non-cancelled orders can be replayed. The replay is a fresh order that runs through the normal fulfillment pipeline, including Address Verification, Duplicate Prevention and suppression lists.
{ "id": 42709, "user_id": 2, "replayed_from_order_id": 42708, "type": "postcard", "size": "4x6", "message": "Hey %FIRST_NAME%!,\n\nTHANK YOU for allowing us the opportunity to HELP you with your plan!", "front_image": "https://cdn.thanks.io/letter-backgrounds/bg0.png", "total_estimated_recipients": 1, "authorization_total": 73, "status": "reviewing", "method": "api", "display_status": "Reviewing", "display_trigger": "API", "display_type": "Postcard-4x6", "metadata": { "crm_deal_id": "D-1042" }}
Authorizations
Authorization
string
header
required
Bearer token authentication using your thanks.io API key
Path Parameters
orderId
integer
required
ID of the order to replay.
Body
application/json
recipients
object[]
Optional override. When supplied, the replay mails the original's creative to these recipients instead of the ones the original reached. Each recipient requires an address; unlike the send endpoints, an address-less recipient is not accepted.
Minimum array length: 1
Show child attributes
schedule_for
string<date>
Optional send date for the replay. Any format Carbon can parse is accepted; the date-only portion is stored.
Example:
"2025-09-15"
metadata
object | null
Optional metadata for the replay. Same shape and limits as the send endpoints — returned unchanged by the order endpoints and included in every webhook event for the order as order.metadata. When omitted, the original order's metadata is carried over.
Replay submitted. The response body mirrors the send endpoints' order-submitted shape, with an added replayed_from_order_id pointing back to the source order.
Response when an Order is successfully submitted to Send Mailer
id
integer
Unique identifier for the order
Example:
42664
user_id
integer
User ID for the order
Example:
2
sub_account
object | null
Sub-account Info For Order. Can be null
Show child attributes
sub_account_id
integer | null
Sub account ID for the order
Example:
12345
total_estimated_recipients
integer
Total estimated recipients for the order
Example:
1
authorization_total
integer
Total authorization amount for the order in cents
Example:
58
leads_fee
integer
Total leads fee for the order in cents
Example:
99
mailing_list_ids_used
string
Mailing lists used for the order. Can be null if recipients or radius search is used.
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
message_template_id
integer | null
Message template ID for the order
Example:
12345
handwriting_color
string
Handwriting color to use
Example:
"rgba(31,0,113,0.80)"
font_size
string
Font size for the order: auto, small, medium, large or extralarge, or a point size such as 11 for a Typed handwriting style.
Example:
"auto"
style
integer
Handwriting style ID for the order
Example:
4
append_or_current_resident
boolean
Appended "Or Current Resident" for the order. This is helpful if you want to ensure delivery.
ID of the source order this replay was copied from.
Example:
42708
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"thanks.io Direct Mail Automation Toolkit","colors":{"primary":"#4c1180","light":"#8e56f3","dark":"#6822c7"},"logo":{"light":"https://mintcdn.com/thanksio/jRViseKcOKEicv0x/logo/light.svg?fit=max\u0026auto=format\u0026n=jRViseKcOKEicv0x\u0026q=85\u0026s=a63121814f9dc669a8d9dd480d2ed672","dark":"https://mintcdn.com/thanksio/jRViseKcOKEicv0x/logo/dark.svg?fit=max\u0026auto=format\u0026n=jRViseKcOKEicv0x\u0026q=85\u0026s=e0e960050738128dafc05dcb4aee7a69"},"favicon":"https://mintcdn.com/thanksio/jRViseKcOKEicv0x/favicon.svg?fit=max\u0026auto=format\u0026n=jRViseKcOKEicv0x\u0026q=85\u0026s=aecbb51507c67d60ae8911184b6d9fa0","api":{"playground":{"display":"interactive"},"examples":{"languages":["javascript","curl","python"]}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"icon":"headset","href":"https://thanks.io/meet","label":"Schedule API Consult"},{"icon":"gauge","href":"https://dashboard.thanks.io","label":"Dashboard"}],"primary":{"type":"button","label":"Create Free Account w/ $10 in Credits","href":"https://dashboard.thanks.io/register?signup_source=api_docs"}},"footer":{"socials":{"facebook":"https://www.facebook.com/groups/thanksio","github":"https://github.com/thanks-io","linkedin":"https://www.linkedin.com/company/11209125","youtube":"https://www.youtube.com/c/thanksio","x":"https://twitter.com/thanks_io_","instagram":"https://www.instagram.com/thanks.io"},"links":[{"header":"Resources","items":[{"label":"Help Docs","href":"https://help.thanks.io"},{"label":"Schedule API Consult","href":"https://thanks.io/meet"},{"label":"Postman","href":"https://postman.thanks.io"}]},{"header":"Company","items":[{"label":"Website","href":"https://thanks.io"},{"label":"Contact","href":"mailto:support@thanks.io"}]}]},"integrations":{"posthog":{"apiKey":"phc_x9vVXcHH4npVKd6yxRGdCcSSLkfQ7hUYzDyhdhXrA6Uj","apiHost":"https://us.i.posthog.com"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"thanksio","hasAudioNarration":false,"actualSubdomain":"thanksio","customDomains":["docs.thanks.io"],"gitSource":{"type":"github","owner":"thanks-io","repo":"thanks.io-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{},"buildId":"6b09023c5972eb552bebc6a2","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"API Reference","count":73},{"language":"default","tag":"API Endpoints","count":61},{"language":"default","tag":"Design Gallery","count":46},{"language":"default","tag":"Inspirations","count":38},{"language":"default","tag":"Postcards","count":35},{"language":"default","tag":"Native Integrations","count":17},{"language":"default","tag":"Get Started","count":13},{"language":"default","tag":"Account","count":12},{"language":"default","tag":"Guides","count":11},{"language":"default","tag":"General Integrations","count":9}]},"assistantConfig":{},"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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/endpoint/orders/replay-order","slug":"/api-reference/endpoint/orders/replay-order","pageMetadata":{"openapi":"post /orders/{orderId}/replay","title":"Replay Order","description":"Submit a copy of a previously placed order as a brand-new order. The same creative is charged and mailed again, and the original order is left untouched. By default the replay is sent to the recipients the original actually reached (failed items are excluded). Supply a `recipients` array to send the same creative to a different audience instead.\n\nOnly settled, non-cancelled orders can be replayed. The replay is a fresh order that runs through the normal fulfillment pipeline, including Address Verification, Duplicate Prevention and suppression lists.","href":"/api-reference/endpoint/orders/replay-order"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Submit a copy of a previously placed order as a brand-new order. The same creative is charged and mailed again, and the original order is left untouched. By default the replay is sent to the recipients the original actually reached (failed items are excluded). Supply a \", _jsx(_components.code, {\n children: \"recipients\"\n }), \" array to send the same creative to a different audience instead.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Only settled, non-cancelled orders can be replayed. The replay is a fresh order that runs through the normal fulfillment pipeline, including Address Verification, Duplicate Prevention and suppression lists.\"\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /orders/{orderId}/replay","title":"Replay Order","description":"Submit a copy of a previously placed order as a brand-new order. The same creative is charged and mailed again, and the original order is left untouched. By default the replay is sent to the recipients the original actually reached (failed items are excluded). Supply a `recipients` array to send the same creative to a different audience instead.\n\nOnly settled, non-cancelled orders can be replayed. The replay is a fresh order that runs through the normal fulfillment pipeline, including Address Verification, Duplicate Prevention and suppression lists.","href":"/api-reference/endpoint/orders/replay-order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Orders"],"summary":"Replay Order","description":"Submit a copy of a previously placed order as a brand-new order. The same creative is charged and mailed again, and the original order is left untouched. By default the replay is sent to the recipients the original actually reached (failed items are excluded). Supply a `recipients` array to send the same creative to a different audience instead.\n\nOnly settled, non-cancelled orders can be replayed. The replay is a fresh order that runs through the normal fulfillment pipeline, including Address Verification, Duplicate Prevention and suppression lists.","parameters":["0d278ece-3952-4516-8c0e-085f335d2a43"],"requestBody":"b14cf877-5154-4d14-bd4a-f7a53406b4e9","responses":{"200":"5c9cd3df-f294-437c-a551-04d05d99c29e","400":"fa39a22f-0e89-4902-8e8b-dd8b92ab4467","401":"e15a33c6-c891-4d19-8320-23ec9c1ab6a4","402":"593b5f7e-6900-4df5-b38a-19f74bdcca26","422":"f982f04c-0331-4c62-ba16-c67719cd7627"},"method":"post","type":"path","servers":["d844dd3a-eccf-4eb6-a4fd-a72d555434c5"],"security":["9e61bad4-59a9-4f19-92df-8901c4df4d2c"],"path":"/orders/{orderId}/replay","baseUrlOptions":["https://api.thanks.io/api/v2"],"title":"Replay Order","codeSamples":[],"requestExampleLanguages":["javascript","bash","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0d278ece-3952-4516-8c0e-085f335d2a43":{"name":"orderId","in":"path","schema":{"type":"integer","isRequired":true,"description":"ID of the order to replay.","uniqueKey":"","typeLabel":"integer"},"required":true,"description":"ID of the order to replay."}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"recipients":{"type":"array","description":"Optional override. When supplied, the replay mails the original's creative to these recipients instead of the ones the original reached. Each recipient requires an `address`; unlike the send endpoints, an address-less recipient is not accepted.","minItems":1,"items":{"type":"object","required":["address"],"properties":{"address":{"type":"string","example":"123 Main Street","isRequired":true,"uniqueKey":"recipients.items.[INDEX].address","typeLabel":"string"},"name":{"type":"string","example":"Tobias Example","uniqueKey":"recipients.items.[INDEX].name","typeLabel":"string"},"company":{"type":"string","example":"thanks.io","uniqueKey":"recipients.items.[INDEX].company","typeLabel":"string"},"address2":{"type":"string","example":"Apartment 1","uniqueKey":"recipients.items.[INDEX].address2","typeLabel":"string"},"city":{"type":"string","example":"Any Town","uniqueKey":"recipients.items.[INDEX].city","typeLabel":"string"},"province":{"type":"string","description":"State or Province","example":"KS","uniqueKey":"recipients.items.[INDEX].province","typeLabel":"string"},"postal_code":{"type":"string","example":"12345","uniqueKey":"recipients.items.[INDEX].postal_code","typeLabel":"string"},"country":{"type":"string","example":"US","uniqueKey":"recipients.items.[INDEX].country","typeLabel":"string"}},"uniqueKey":"recipients.items.[INDEX]","typeLabel":"object"},"uniqueKey":"recipients","typeLabel":"object[]"},"schedule_for":{"type":"string","format":"date","description":"Optional send date for the replay. Any format Carbon can parse is accepted; the date-only portion is stored.","example":"2025-09-15","uniqueKey":"schedule_for","typeLabel":"string\u003cdate>"},"metadata":{"oneOf":[{"type":"object","description":"Optional metadata for the replay. Same shape and limits as the send endpoints — returned unchanged by the order endpoints and included in every webhook event for the order as `order.metadata`. When omitted, the original order's metadata is carried over.","additionalProperties":true,"example":{"crm_deal_id":"D-1042","campaign":"spring-winback"},"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","description":"Optional metadata for the replay. Same shape and limits as the send endpoints — returned unchanged by the order endpoints and included in every webhook event for the order as `order.metadata`. When omitted, the original order's metadata is carried over.","additionalProperties":true,"example":{"crm_deal_id":"D-1042","campaign":"spring-winback"},"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Replay to Original Recipients":{"title":"Replay to Original Recipients","summary":"Replay with no body","description":"Submit a copy of the order and mail it to the same recipients the original reached. Failed recipients are excluded.","value":{}},"Replay to New Recipients":{"title":"Replay to New Recipients","summary":"Send the same creative to a different audience","description":"Reuse the original order's creative but supply a fresh recipient list.","value":{"recipients":[{"name":"Grace Hopper","address":"1 Navy Yard","city":"Phoenix","province":"AZ","postal_code":"85001","country":"US"},{"name":"Alan Turing","address":"2 Bletchley Park","city":"Phoenix","province":"AZ","postal_code":"85001","country":"US"}]}},"Replay Scheduled with Metadata":{"title":"Replay Scheduled with Metadata","summary":"Schedule the replay and attach metadata","description":"Schedule the replay for a future send date and attach your own key/value data.","value":{"schedule_for":"2025-09-15","metadata":{"crm_deal_id":"D-1042","campaign":"spring-winback"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"5c9cd3df-f294-437c-a551-04d05d99c29e":{"description":"Replay submitted. The response body mirrors the send endpoints' order-submitted shape, with an added `replayed_from_order_id` pointing back to the source order.","content":{"application/json":{"schema":{"type":"object","title":"Send Mailer Order Submitted Response","description":"Response when an Order is successfully submitted to Send Mailer","properties":{"id":{"type":"integer","description":"Unique identifier for the order","example":42664,"uniqueKey":"id","typeLabel":"integer"},"user_id":{"type":"integer","description":"User ID for the order","example":2,"uniqueKey":"user_id","typeLabel":"integer"},"sub_account":{"oneOf":[{"type":"object","description":"Sub-account Info For Order. Can be null","properties":{"id":{"type":"integer","example":1,"uniqueKey":"sub_account.oneOf.0.id","typeLabel":"integer"},"user_id":{"type":"integer","example":2,"uniqueKey":"sub_account.oneOf.0.user_id","typeLabel":"integer"},"title":{"type":"string","example":"My Sub Account","uniqueKey":"sub_account.oneOf.0.title","typeLabel":"string"},"return_name":{"type":"string","example":"John Smith","uniqueKey":"sub_account.oneOf.0.return_name","typeLabel":"string"},"return_address":{"type":"string","example":"123 Smith Street","uniqueKey":"sub_account.oneOf.0.return_address","typeLabel":"string"},"return_address2":{"type":"string","example":"Apartment 2","uniqueKey":"sub_account.oneOf.0.return_address2","typeLabel":"string"},"return_city":{"type":"string","example":"Denver","uniqueKey":"sub_account.oneOf.0.return_city","typeLabel":"string"},"return_state":{"type":"string","example":"CO","uniqueKey":"sub_account.oneOf.0.return_state","typeLabel":"string"},"return_postal_code":{"type":"string","example":"12345","uniqueKey":"sub_account.oneOf.0.return_postal_code","typeLabel":"string"}},"uniqueKey":"sub_account.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"sub_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"sub_account","typeLabel":"object | null"},"sub_account_id":{"oneOf":[{"type":"integer","description":"Sub account ID for the order","example":12345,"uniqueKey":"sub_account_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Sub account ID for the order","example":12345,"uniqueKey":"sub_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"sub_account_id","typeLabel":"integer | null"},"total_estimated_recipients":{"type":"integer","description":"Total estimated recipients for the order","example":1,"uniqueKey":"total_estimated_recipients","typeLabel":"integer"},"authorization_total":{"type":"integer","description":"Total authorization amount for the order in cents","example":58,"uniqueKey":"authorization_total","typeLabel":"integer"},"leads_fee":{"type":"integer","description":"Total leads fee for the order in cents","example":99,"uniqueKey":"leads_fee","typeLabel":"integer"},"mailing_list_ids_used":{"type":"string","description":"Mailing lists used for the order. Can be null if recipients or radius search is used.","example":"3046,3020","uniqueKey":"mailing_list_ids_used","typeLabel":"string"},"recipients":{"type":"array","description":"List of recipients for the order","items":{"type":"object","properties":{"name":{"type":"string","example":"Tobias Example","uniqueKey":"recipients.items.[INDEX].name","typeLabel":"string"},"company":{"type":"string","example":"thanks.io","uniqueKey":"recipients.items.[INDEX].company","typeLabel":"string"},"address":{"type":"string","example":"123 Main Street","uniqueKey":"recipients.items.[INDEX].address","typeLabel":"string"},"address2":{"type":"string","example":"Apartment 1","uniqueKey":"recipients.items.[INDEX].address2","typeLabel":"string"},"city":{"type":"string","example":"Any Town","uniqueKey":"recipients.items.[INDEX].city","typeLabel":"string"},"province":{"type":"string","description":"State or Province","example":"KS","uniqueKey":"recipients.items.[INDEX].province","typeLabel":"string"},"postal_code":{"type":"string","example":"12345","uniqueKey":"recipients.items.[INDEX].postal_code","typeLabel":"string"},"country":{"type":"string","example":"US","uniqueKey":"recipients.items.[INDEX].country","typeLabel":"string"},"dob":{"type":"string","description":"Date of Birth in ISO 8601 format (YYYY-MM-DD) or null if not set. If provided as MM/DD/YYYY in requests, it will be converted to ISO 8601 format.","example":"1981-04-23","uniqueKey":"recipients.items.[INDEX].dob","typeLabel":"string"},"anniversary":{"type":"string","description":"Can be used for house purchase anniversaries, move-in dates, or any recurring annual milestone. Anniversary date in ISO 8601 format (YYYY-MM-DD) or null if not set. If provided as MM/DD/YYYY in requests, it will be converted to ISO 8601 format.","example":"2025-07-21","uniqueKey":"recipients.items.[INDEX].anniversary","typeLabel":"string"},"email":{"type":"string","example":"tobias@example.com","uniqueKey":"recipients.items.[INDEX].email","typeLabel":"string"},"phone":{"type":"string","example":"+1 (555) 123-4567","uniqueKey":"recipients.items.[INDEX].phone","typeLabel":"string"},"custom1":{"type":"string","description":"Custom field for additional information about the recipient","example":"Unique Info","uniqueKey":"recipients.items.[INDEX].custom1","typeLabel":"string"},"custom2":{"type":"string","description":"Custom field for additional information about the recipient","example":"For example a product code or customer ID","uniqueKey":"recipients.items.[INDEX].custom2","typeLabel":"string"},"custom3":{"type":"string","description":"Custom field for additional information about the recipient","example":"Any Extra Info","uniqueKey":"recipients.items.[INDEX].custom3","typeLabel":"string"},"custom4":{"type":"string","description":"Custom field for additional information about the recipient","example":"Any Extra Info","uniqueKey":"recipients.items.[INDEX].custom4","typeLabel":"string"},"custom5":{"type":"string","description":"Custom field for additional information about the recipient","example":"Any Extra Info","uniqueKey":"recipients.items.[INDEX].custom5","typeLabel":"string"},"custom6":{"type":"string","description":"Custom field for additional information about the recipient","example":"Any Extra Info","uniqueKey":"recipients.items.[INDEX].custom6","typeLabel":"string"},"custom7":{"type":"string","description":"Custom field for additional information about the recipient","example":"Any Extra Info","uniqueKey":"recipients.items.[INDEX].custom7","typeLabel":"string"},"custom8":{"type":"string","description":"Custom field for additional information about the recipient","example":"Any Extra Info","uniqueKey":"recipients.items.[INDEX].custom8","typeLabel":"string"},"custom9":{"type":"string","description":"Custom field for additional information about the recipient","example":"Any Extra Info","uniqueKey":"recipients.items.[INDEX].custom9","typeLabel":"string"},"custom10":{"type":"string","description":"Custom field for additional information about the recipient","example":"Any Extra Info","uniqueKey":"recipients.items.[INDEX].custom10","typeLabel":"string"},"absentee_address":{"oneOf":[{"type":"string","description":"The property (absentee) address the absentee image template and message variables use. Present only on recipients sent with an absentee address. Mail is delivered to `address`, not here.","example":"742 Evergreen Terrace, Springfield, IL 62704","uniqueKey":"recipients.items.[INDEX].absentee_address.oneOf.0","typeLabel":"string"},{"type":"null","description":"The property (absentee) address the absentee image template and message variables use. Present only on recipients sent with an absentee address. Mail is delivered to `address`, not here.","example":"742 Evergreen Terrace, Springfield, IL 62704","uniqueKey":"recipients.items.[INDEX].absentee_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"recipients.items.[INDEX].absentee_address","typeLabel":"string | null"}},"uniqueKey":"recipients.items.[INDEX]","typeLabel":"object"},"uniqueKey":"recipients","typeLabel":"object[]"},"front_image":{"type":"string","description":"Front image URL for the order","example":"https://s3.amazonaws.com/cdn.thanks.io/user_image_library/1533645532.png","uniqueKey":"front_image","typeLabel":"string"},"image_template_id":{"oneOf":[{"type":"integer","description":"Image template ID for the order","example":6,"uniqueKey":"image_template_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Image template ID for the order","example":6,"uniqueKey":"image_template_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"image_template_id","typeLabel":"integer | null"},"custom_background_url":{"oneOf":[{"type":"string","description":"Custom background URL for the order. Only valid for postcard backs and the interior background of notecards and giftcards.","example":"https://s3.amazonaws.com/content.thanks.io/templates/branding-builder-images/c09d39aadfc-3701d4467b8/4524cce0-78cb-11f0-b937-17570cbedaf4.png","uniqueKey":"custom_background_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Custom background URL for the order. Only valid for postcard backs and the interior background of notecards and giftcards.","example":"https://s3.amazonaws.com/content.thanks.io/templates/branding-builder-images/c09d39aadfc-3701d4467b8/4524cce0-78cb-11f0-b937-17570cbedaf4.png","uniqueKey":"custom_background_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_background_url","typeLabel":"string | null"},"message":{"type":"string","description":"Message content for the order","example":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.","uniqueKey":"message","typeLabel":"string"},"message_template_id":{"oneOf":[{"type":"integer","description":"Message template ID for the order","example":12345,"uniqueKey":"message_template_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Message template ID for the order","example":12345,"uniqueKey":"message_template_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"message_template_id","typeLabel":"integer | null"},"handwriting_color":{"type":"string","description":"Handwriting color to use","example":"rgba(31,0,113,0.80)","uniqueKey":"handwriting_color","typeLabel":"string"},"font_size":{"type":"string","description":"Font size for the order: `auto`, `small`, `medium`, `large` or `extralarge`, or a point size such as `11` for a `Typed` handwriting style.","example":"auto","uniqueKey":"font_size","typeLabel":"string"},"style":{"type":"integer","description":"Handwriting style ID for the order","example":4,"uniqueKey":"style","typeLabel":"integer"},"append_or_current_resident":{"type":"boolean","description":"Appended \"Or Current Resident\" for the order. This is helpful if you want to ensure delivery.","example":false,"uniqueKey":"append_or_current_resident","typeLabel":"boolean"},"return_name":{"oneOf":[{"type":"string","description":"Return name for the order","example":"John Doe","uniqueKey":"return_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Return name for the order","example":"John Doe","uniqueKey":"return_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_name","typeLabel":"string | null"},"return_address":{"oneOf":[{"type":"string","description":"Return address line 1 for the order","example":"123 Main Street","uniqueKey":"return_address.oneOf.0","typeLabel":"string"},{"type":"null","description":"Return address line 1 for the order","example":"123 Main Street","uniqueKey":"return_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_address","typeLabel":"string | null"},"return_address2":{"oneOf":[{"type":"string","description":"Return address line 2 for the order","example":null,"uniqueKey":"return_address2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Return address line 2 for the order","example":null,"uniqueKey":"return_address2.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_address2","typeLabel":"string | null"},"return_city":{"oneOf":[{"type":"string","description":"Return city for the order","example":"Anytown","uniqueKey":"return_city.oneOf.0","typeLabel":"string"},{"type":"null","description":"Return city for the order","example":"Anytown","uniqueKey":"return_city.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_city","typeLabel":"string | null"},"return_province":{"oneOf":[{"type":"string","description":"Return state/province for the order","example":"NY","uniqueKey":"return_province.oneOf.0","typeLabel":"string"},{"type":"null","description":"Return state/province for the order","example":"NY","uniqueKey":"return_province.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_province","typeLabel":"string | null"},"return_postal_code":{"oneOf":[{"type":"string","description":"Return postal code for the order","example":"12345","uniqueKey":"return_postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Return postal code for the order","example":"12345","uniqueKey":"return_postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_postal_code","typeLabel":"string | null"},"type":{"type":"string","description":"Type of the order","enum":["postcard","postcard6x9","postcard6x11","letter","notecard","giftcard","windowlessletter"],"example":"postcard","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"size":{"type":"string","description":"Size of the order (valid for postcards only)","enum":["4x6","6x9","6x11"],"example":"4x6","uniqueKey":"size","typeLabel":"enum\u003cstring>"},"method":{"type":"string","description":"Method for the order","enum":["api","cardbuilder","drip","email","zapier"],"uniqueKey":"method","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"Status of the order","enum":["reviewing","processing","fulfilled","cancelled","printed","shipped","paused","delivered"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"display_status":{"type":"string","description":"Display status for the order","example":"Reviewing","uniqueKey":"display_status","typeLabel":"string"},"display_trigger":{"type":"string","description":"Display trigger for the order","example":"API","uniqueKey":"display_trigger","typeLabel":"string"},"display_type":{"type":"string","description":"Display type for the order","example":"Postcard-4x6","uniqueKey":"display_type","typeLabel":"string"},"addons":{"oneOf":[{"type":"object","description":"Add-ons for the order","properties":{"standardmail":{"type":"string","description":"Standard mail add-on status","enum":["on","off"],"example":"on","uniqueKey":"addons.oneOf.0.standardmail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"addons.oneOf.0","typeLabel":"object"},{"type":"null","description":"Add-ons for the order","properties":{"standardmail":{"type":"string","description":"Standard mail add-on status","enum":["on","off"],"example":"on"}},"uniqueKey":"addons.oneOf.1","typeLabel":"null"}],"uniqueKey":"addons","typeLabel":"object | null"},"qrcode_url":{"oneOf":[{"type":"string","description":"QR code URL for the order","example":"https://www.google.com?name=~FULL_NAME~\u0026custom_field_1=~CUSTOM1~\u0026custom_field2=~CUSTOM2~","uniqueKey":"qrcode_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"QR code URL for the order","example":"https://www.google.com?name=~FULL_NAME~\u0026custom_field_1=~CUSTOM1~\u0026custom_field2=~CUSTOM2~","uniqueKey":"qrcode_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"qrcode_url","typeLabel":"string | null"},"giftcard_brand":{"oneOf":[{"type":"string","description":"Gift card brand for the order (valid for Giftcard orders only)","example":null,"uniqueKey":"giftcard_brand.oneOf.0","typeLabel":"string"},{"type":"null","description":"Gift card brand for the order (valid for Giftcard orders only)","example":null,"uniqueKey":"giftcard_brand.oneOf.1","typeLabel":"null"}],"uniqueKey":"giftcard_brand","typeLabel":"string | null"},"giftcard_image":{"oneOf":[{"type":"string","description":"Gift card image URL for the order (valid for Giftcard orders only)","example":null,"uniqueKey":"giftcard_image.oneOf.0","typeLabel":"string"},{"type":"null","description":"Gift card image URL for the order (valid for Giftcard orders only)","example":null,"uniqueKey":"giftcard_image.oneOf.1","typeLabel":"null"}],"uniqueKey":"giftcard_image","typeLabel":"string | null"},"giftcard_amount":{"oneOf":[{"type":"integer","description":"Gift card amount for the order in cents (valid for Giftcard orders only)","example":null,"uniqueKey":"giftcard_amount.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Gift card amount for the order in cents (valid for Giftcard orders only)","example":null,"uniqueKey":"giftcard_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"giftcard_amount","typeLabel":"integer | null"},"giftcard_brand_longname":{"type":"string","description":"Gift card brand long name for the order (valid for Giftcard orders only)","example":"Amazon.com","uniqueKey":"giftcard_brand_longname","typeLabel":"string"},"metadata":{"oneOf":[{"type":"object","description":"The metadata object submitted with the order, returned exactly as it was sent. Null when the order was created without metadata.","additionalProperties":true,"example":{"crm_deal_id":"D-1042","campaign":"spring-winback","source":"hubspot"},"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","description":"The metadata object submitted with the order, returned exactly as it was sent. Null when the order was created without metadata.","additionalProperties":true,"example":{"crm_deal_id":"D-1042","campaign":"spring-winback","source":"hubspot"},"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"},"updated_at":{"type":"string","format":"date-time","description":"Last updated timestamp for the order","example":"2025-08-14 16:42:44","uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"created_at":{"type":"string","format":"date-time","description":"Creation timestamp for the order","example":"2025-08-14 16:42:44","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"replayed_from_order_id":{"type":"integer","description":"ID of the source order this replay was copied from.","example":42708,"uniqueKey":"replayed_from_order_id","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"Send Mailer Order Submitted Response · object"},"example":{"id":42709,"user_id":2,"replayed_from_order_id":42708,"type":"postcard","size":"4x6","message":"Hey %FIRST_NAME%!,\n\nTHANK YOU for allowing us the opportunity to HELP you with your plan!","front_image":"https://cdn.thanks.io/letter-backgrounds/bg0.png","total_estimated_recipients":1,"authorization_total":73,"status":"reviewing","method":"api","display_status":"Reviewing","display_trigger":"API","display_type":"Postcard-4x6","metadata":{"crm_deal_id":"D-1042"}},"examples":{"Example":{"title":"Example","value":{"id":42709,"user_id":2,"replayed_from_order_id":42708,"type":"postcard","size":"4x6","message":"Hey %FIRST_NAME%!,\n\nTHANK YOU for allowing us the opportunity to HELP you with your plan!","front_image":"https://cdn.thanks.io/letter-backgrounds/bg0.png","total_estimated_recipients":1,"authorization_total":73,"status":"reviewing","method":"api","display_status":"Reviewing","display_trigger":"API","display_type":"Postcard-4x6","metadata":{"crm_deal_id":"D-1042"}}}},"exampleType":"examples"}},"exampleType":"examples"},"fa39a22f-0e89-4902-8e8b-dd8b92ab4467":{"description":"The order cannot be replayed. This includes a cancelled order, an order that has not settled yet, an order with no successfully mailed recipients (when `recipients` is not supplied), a charge failure, or a concurrent replay of the same order.","content":{"application/json":{"examples":{"Not Settled":{"title":"Not Settled","summary":"Order Still Fulfilling","value":{"status":"Order #42708 is still being fulfilled and cannot be replayed until it has settled.","message":"Order #42708 is still being fulfilled and cannot be replayed until it has settled.","failure":true}},"Charge Failed":{"title":"Charge Failed","summary":"Charge Failed During Replay","value":{"status":"Charge failed during order replay - Please verify your payment information in your thanks.io dashboard","message":"Charge failed during order replay - Please verify your payment information in your thanks.io dashboard"}}},"exampleType":"examples"}},"exampleType":"examples"},"e15a33c6-c891-4d19-8320-23ec9c1ab6a4":{"description":"The authenticated account does not own this order.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"593b5f7e-6900-4df5-b38a-19f74bdcca26":{"description":"API access has been temporarily disabled due to repeated payment failures.","content":{"application/json":{"example":{"status":"API access has been temporarily disabled due to repeated payment failures. Please update your payment method.","message":"API access has been temporarily disabled due to repeated payment failures. Please update your payment method.","code":"api_disabled_payment_failures"},"examples":{"Example":{"title":"Example","value":{"status":"API access has been temporarily disabled due to repeated payment failures. Please update your payment method.","message":"API access has been temporarily disabled due to repeated payment failures. Please update your payment method.","code":"api_disabled_payment_failures"}}},"exampleType":"examples"}},"exampleType":"examples"},"f982f04c-0331-4c62-ba16-c67719cd7627":{"description":"Validation failed on the request body — most commonly a recipient without an `address`, or an empty `recipients` array.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"9e61bad4-59a9-4f19-92df-8901c4df4d2c":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Bearer token authentication using your thanks.io API key","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"d844dd3a-eccf-4eb6-a4fd-a72d555434c5":{"url":"https://api.thanks.io/api/v2","description":"The main API server for thanks.io"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer token authentication using your thanks.io API key","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token authentication using your thanks.io API key","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"thanksio","siteName":"thanks.io Direct Mail Automation Toolkit","title":"Replay Order - thanks.io Direct Mail Automation Toolkit","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-28T15:43:52.541Z","originalFileLocation":"api-reference/endpoint/orders/replay-order.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Submit a copy of a previously placed order as a brand-new order. The same creative is charged and mailed again, and the original order is left untouched. By default the replay is sent to the recipients the original actually reached (failed items are excluded). Supply a recipients array to send the same creative to a different audience instead. Only settled, non-cancelled orders can be replayed. The replay is a fresh order that runs through the normal fulfillment pipeline, including Address Verification, Duplicate Prevention and suppression lists.\">\u003cmeta data-mint-head name=\"application-name\" content=\"thanks.io Direct Mail Automation Toolkit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/thanksio/4A9jZiRamFPkvvwd/_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/thanksio/4A9jZiRamFPkvvwd/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thanksio/4A9jZiRamFPkvvwd/_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/thanksio/4A9jZiRamFPkvvwd/_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/thanksio/4A9jZiRamFPkvvwd/_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/thanksio/4A9jZiRamFPkvvwd/_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/thanksio/4A9jZiRamFPkvvwd/_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/thanksio/4A9jZiRamFPkvvwd/_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/thanksio/4A9jZiRamFPkvvwd/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Replay Order - thanks.io Direct Mail Automation Toolkit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Submit a copy of a previously placed order as a brand-new order. The same creative is charged and mailed again, and the original order is left untouched. By default the replay is sent to the recipients the original actually reached (failed items are excluded). Supply a recipients array to send the same creative to a different audience instead. Only settled, non-cancelled orders can be replayed. The replay is a fresh order that runs through the normal fulfillment pipeline, including Address Verification, Duplicate Prevention and suppression lists.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"thanks.io Direct Mail Automation Toolkit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.thanks.io/api-reference/endpoint/orders/replay-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://thanksio.mintlify.site/_mintlify/api/og/v2?division=Account\u0026amp;title=Replay+Order\u0026amp;description=Submit+a+copy+of+a+previously+placed+order+as+a+brand-new+order.+The+same+creative+is+charged+and+mailed+again%2C+and+the+original+order+is+left+untouched.+By+def\u0026amp;theme=1264b6494f3fd6a53e585726\u0026amp;signature=5d27474e77b16e920992c7c86b9522c45f5b2ac85dcdcd85b49818e25527425e\">\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=\"Replay Order - thanks.io Direct Mail Automation Toolkit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Submit a copy of a previously placed order as a brand-new order. The same creative is charged and mailed again, and the original order is left untouched. By default the replay is sent to the recipients the original actually reached (failed items are excluded). Supply a recipients array to send the same creative to a different audience instead. Only settled, non-cancelled orders can be replayed. The replay is a fresh order that runs through the normal fulfillment pipeline, including Address Verification, Duplicate Prevention and suppression lists.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://thanksio.mintlify.site/_mintlify/api/og/v2?division=Account\u0026amp;title=Replay+Order\u0026amp;description=Submit+a+copy+of+a+previously+placed+order+as+a+brand-new+order.+The+same+creative+is+charged+and+mailed+again%2C+and+the+original+order+is+left+untouched.+By+def\u0026amp;theme=1264b6494f3fd6a53e585726\u0026amp;signature=5d27474e77b16e920992c7c86b9522c45f5b2ac85dcdcd85b49818e25527425e\">\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/thanksio/4A9jZiRamFPkvvwd/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"thanks.io Direct Mail Automation Toolkit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4c1180\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.thanks.io/api-reference/endpoint/orders/replay-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/orders/replay-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.thanks.io/#organization\",\"name\":\"thanks.io Direct Mail Automation Toolkit\",\"url\":\"https://docs.thanks.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/thanksio/jRViseKcOKEicv0x/logo/light.svg?fit=max\u0026auto=format\u0026n=jRViseKcOKEicv0x\u0026q=85\u0026s=a63121814f9dc669a8d9dd480d2ed672\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.thanks.io#website\",\"name\":\"thanks.io Direct Mail Automation Toolkit\",\"url\":\"https://docs.thanks.io\",\"publisher\":{\"@id\":\"https://docs.thanks.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.thanks.io/api-reference/endpoint/orders/replay-order#webpage\",\"url\":\"https://docs.thanks.io/api-reference/endpoint/orders/replay-order\",\"name\":\"Replay Order\",\"description\":\"Submit a copy of a previously placed order as a brand-new order. The same creative is charged and mailed again, and the original order is left untouched. By default the replay is sent to the recipients the original actually reached (failed items are excluded). Supply a recipients array to send the same creative to a different audience instead. Only settled, non-cancelled orders can be replayed. The replay is a fresh order that runs through the normal fulfillment pipeline, including Address Verification, Duplicate Prevention and suppression lists.\",\"dateModified\":\"2026-08-28T15:43:52.541Z\",\"isPartOf\":{\"@id\":\"https://docs.thanks.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.thanks.io/api-reference/endpoint/orders/replay-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.thanks.io/api-reference/endpoint/orders/replay-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Endpoints\",\"item\":\"https://docs.thanks.io/api-reference/recipients-usage\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Account\",\"item\":\"https://docs.thanks.io/api-reference/endpoint/sub-accounts/create-sub-account\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Replay Order\",\"item\":\"https://docs.thanks.io/api-reference/endpoint/orders/replay-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.thanks.io/api-reference/endpoint/orders/replay-order#apireference\",\"headline\":\"Replay Order\",\"name\":\"Replay Order\",\"description\":\"Submit a copy of a previously placed order as a brand-new order. The same creative is charged and mailed again, and the original order is left untouched. By default the replay is sent to the recipients the original actually reached (failed items are excluded). Supply a recipients array to send the same creative to a different audience instead. Only settled, non-cancelled orders can be replayed. The replay is a fresh order that runs through the normal fulfillment pipeline, including Address Verification, Duplicate Prevention and suppression lists.\",\"url\":\"https://docs.thanks.io/api-reference/endpoint/orders/replay-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.thanks.io/api-reference/endpoint/orders/replay-order#webpage\"},\"dateModified\":\"2026-08-28T15:43:52.541Z\",\"publisher\":{\"@id\":\"https://docs.thanks.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.thanks.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"thanks.io Direct Mail Automation Toolkit\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"thanks.io Direct Mail Automation Toolkit\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/orders/replay-order.md","siteName":"thanks.io Direct Mail Automation Toolkit","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Design Gallery","pages":[{"title":"Design Gallery","href":"/design-gallery/introduction"}]},{"tab":"API Reference","groups":[{"group":"Get Started","icon":"play","pages":[{"title":"REST API Overview","href":"/api-reference/introduction"},{"title":"API Testing Mode","mode":"wide","href":"/api-reference/api-mode"},{"title":"API Log","href":"/api-reference/audit-log"},{"title":"Rate Limits","mode":"wide","href":"/api-reference/rate-limits"},{"title":"OpenAPI Specification","href":"/api-reference/openapi-link"}]},{"group":"Authentication","icon":"lock","pages":[{"title":"Choosing an Authentication Method","href":"/authentication/choosing-auth-method"},{"title":"Bearer Token","href":"/authentication/bearer-token"},{"title":"OAuth","href":"/authentication/oauth"}]},{"group":"API Endpoints","icon":"code","pages":[{"group":"Recipients","icon":"user","pages":[{"title":"Usage","href":"/api-reference/recipients-usage"},{"openapi":"post /recipients","title":"Create Recipient","href":"/api-reference/endpoint/recipients/create-recipient"},{"openapi":"get /recipients/{recipientId}","title":"Recipient Details","href":"/api-reference/endpoint/recipients/get-details"},{"openapi":"put /recipients/{recipientId}","title":"Update Recipient","href":"/api-reference/endpoint/recipients/update-recipient"},{"openapi":"delete /recipients/{recipientId}","title":"Delete Recipient","href":"/api-reference/endpoint/recipients/delete-recipient"},{"openapi":"post /recipients-utils/create-multiple","title":"Create Multiple Recipients","href":"/api-reference/endpoint/recipients/create-multiple-recipients"},{"openapi":"post /recipients-utils/delete-by-address","title":"Delete Recipient By Address","href":"/api-reference/endpoint/recipients/delete-recipient-by-address"}]},{"group":"Mailing Lists","icon":"list","pages":[{"title":"Usage","href":"/api-reference/mailing-lists-usage"},{"openapi":"get /mailing-lists/","title":"List All","href":"/api-reference/endpoint/mailing-lists/list-all"},{"openapi":"post /mailing-lists/","title":"Create Mailing List","href":"/api-reference/endpoint/mailing-lists/create-mailing-list"},{"openapi":"get /mailing-lists/{mailingListId}","title":"Get Details","href":"/api-reference/endpoint/mailing-lists/get-details"},{"openapi":"delete /mailing-lists/{mailingListId}","title":"Delete Mailing List","href":"/api-reference/endpoint/mailing-lists/delete-mailing-list"},{"openapi":"get /mailing-lists-utils/recipients/{mailingListId}","title":"List Recipients","href":"/api-reference/endpoint/mailing-lists/list-recipients"},{"openapi":"post /mailing-lists-utils/count-radius-search","title":"Radius Search Count","href":"/api-reference/endpoint/mailing-lists/radius-search-count"},{"openapi":"post /mailing-lists-utils/buy-radius-search","title":"Radius Search","href":"/api-reference/endpoint/mailing-lists/radius-search"}]},{"group":"Direct Send Orders","icon":"envelope","pages":[{"title":"Usage","href":"/api-reference/send-mailer-usage"},{"openapi":"post /send/postcard","title":"Send Postcard","href":"/api-reference/endpoint/send-mailer/send-postcard"},{"openapi":"post /send/windowedletter","title":"Send Windowed Letter","href":"/api-reference/endpoint/send-mailer/send-windowed-letter"},{"openapi":"post /send/windowlessletter","title":"Send Windowless Letter","href":"/api-reference/endpoint/send-mailer/send-windowless-letter"},{"openapi":"post /send/notecard","title":"Send Notecard","href":"/api-reference/endpoint/send-mailer/send-notecard"},{"openapi":"post /send/giftcard","title":"Send Giftcard","href":"/api-reference/endpoint/send-mailer/send-giftcard"},{"openapi":"post /send/magnacard","title":"Send Magnacard","href":"/api-reference/endpoint/send-mailer/send-magnacard"}]},{"group":"Order Estimates","icon":"calculator","pages":[{"openapi":"post /estimate/postcard","title":"Estimate Postcard","href":"/api-reference/endpoint/estimate/estimate-postcard"},{"openapi":"post /estimate/windowedletter","title":"Estimate Windowed Letter","href":"/api-reference/endpoint/estimate/estimate-windowed-letter"},{"openapi":"post /estimate/windowlessletter","title":"Estimate Windowless Letter","href":"/api-reference/endpoint/estimate/estimate-windowless-letter"},{"openapi":"post /estimate/notecard","title":"Estimate Notecard","href":"/api-reference/endpoint/estimate/estimate-notecard"},{"openapi":"post /estimate/giftcard","title":"Estimate Giftcard","href":"/api-reference/endpoint/estimate/estimate-giftcard"},{"openapi":"post /estimate/magnacard","title":"Estimate Magnacard","href":"/api-reference/endpoint/estimate/estimate-magnacard"}]},{"group":"Creatives Library","icon":"palette","pages":[{"title":"Usage","href":"/api-reference/creatives-library-usage"},{"openapi":"get /creatives/","title":"List Creatives","href":"/api-reference/endpoint/creatives-library/list-all-creatives"},{"openapi":"get /creatives/{creativeId}","title":"Get Creative","href":"/api-reference/endpoint/creatives-library/get-creative"}]},{"group":"Message Templates","icon":"message","pages":[{"title":"Usage","href":"/api-reference/message-templates-usage"},{"openapi":"get /message-templates/","title":"List Message Templates","href":"/api-reference/endpoint/message-templates/list-all-message-templates"},{"openapi":"post /message-templates/","title":"Create Message Template","href":"/api-reference/endpoint/message-templates/create-message-template"},{"openapi":"get /message-templates/{messageTemplateId}","title":"Get Message Template","href":"/api-reference/endpoint/message-templates/get-message-template"},{"openapi":"patch /message-templates/{messageTemplateId}","title":"Update Message Template","href":"/api-reference/endpoint/message-templates/update-message-template"},{"openapi":"delete /message-templates/{messageTemplateId}","title":"Delete Message Template","href":"/api-reference/endpoint/message-templates/delete-message-template"}]},{"group":"Account","icon":"gear","pages":[{"openapi":"post /sub-accounts/","title":"Create Sub-Account","href":"/api-reference/endpoint/sub-accounts/create-sub-account"},{"openapi":"get /sub-accounts/{subAccountId}","title":"Show Sub-Account","href":"/api-reference/endpoint/sub-accounts/get-details"},{"openapi":"put /sub-accounts/{subAccountId}","title":"Update Sub-Account","href":"/api-reference/endpoint/sub-accounts/update-sub-account"},{"openapi":"delete /sub-accounts/{subAccountId}","title":"Delete Sub-Account","href":"/api-reference/endpoint/sub-accounts/delete-sub-account"},{"openapi":"get /sub-accounts/","title":"List Sub-Accounts","href":"/api-reference/endpoint/sub-accounts/list-all"},{"openapi":"get /image-templates/","title":"List Image Templates","href":"/api-reference/endpoint/image-templates/list-all-image-templates"},{"openapi":"get /orders/list","title":"List Orders","href":"/api-reference/endpoint/orders/list-orders"},{"openapi":"get /orders/{orderId}/track","title":"Track Order","href":"/api-reference/endpoint/orders/track-order"},{"openapi":"get /orders/{orderId}/items","title":"List Order Items","href":"/api-reference/endpoint/orders/list-order-items"},{"openapi":"put /orders/{orderId}/cancel","title":"Cancel Order","description":"If Order is in _Reviewing_ Status, then this will cancel the order and refund the credits for the order back to your account. If the order can be successfully canceled, the status will be updated to _cancelled_.","href":"/api-reference/endpoint/orders/cancel-order"},{"openapi":"post /orders/{orderId}/replay","title":"Replay Order","href":"/api-reference/endpoint/orders/replay-order"},{"openapi":"put /order-items/{orderItemId}/invalidate-giftcard","title":"Invalidate Gift Card","description":"Invalidate the gift card on a mailed piece so it can no longer be redeemed, for example when a card was sent by mistake. This does the same as the **Invalidate** button on the Order Details page, and it can't be undone. `PATCH` is accepted as well as `PUT`.\n\nOnly an unredeemed card that hasn't already been invalidated can be invalidated. The order must belong to the authenticated account.\n\nThe response is the updated order item, in the same shape as List Order Items. The redemption code, claim link and rendered card image are never returned.","href":"/api-reference/endpoint/orders/invalidate-giftcard"}]},{"group":"Webhooks","icon":"list","pages":[{"openapi":"get /webhooks","title":"List Webhooks","href":"/api-reference/endpoint/webhooks/list-all"},{"openapi":"post /webhooks","title":"Create Webhook","href":"/api-reference/endpoint/webhooks/create-webhook"},{"openapi":"put /webhooks/{webhookId}","title":"Update Webhook","href":"/api-reference/endpoint/webhooks/update-webhook"},{"openapi":"delete /webhooks/{webhookId}","title":"Delete Webhook","href":"/api-reference/endpoint/webhooks/delete-webhook"}]},{"group":"Webhook Events","icon":"sparkles","pages":[{"openapi":"api-reference/openapi.json webhook orderItemStatusUpdate","title":"Order Item Status Change","href":"/api-reference/endpoint/webhook-events/order-item-status-change"},{"openapi":"api-reference/openapi.json webhook orderStatusUpdate","title":"Order Status Change","href":"/api-reference/endpoint/webhook-events/order-status-change"},{"openapi":"api-reference/openapi.json webhook orderItemDelivered","title":"Order Item Delivered","href":"/api-reference/endpoint/webhook-events/order-item-delivered"},{"openapi":"api-reference/openapi.json webhook qrCodeScanUpdate","title":"QR Code Scans","href":"/api-reference/endpoint/webhook-events/qr-code-scans"},{"openapi":"api-reference/openapi.json webhook scanBoardStatusUpdate","title":"Lead Board Stage Change","href":"/api-reference/endpoint/webhook-events/scan-board-stage-change"}]},{"group":"Utilities","icon":"wrench","pages":[{"openapi":"get /handwriting-styles","title":"List Handwriting Styles","href":"/api-reference/endpoint/handwriting-styles/list-styles"},{"openapi":"get /giftcard-brands-list","title":"List Gift Card Brands Flat","href":"/api-reference/endpoint/giftcards/list-brands-flat"},{"openapi":"get /giftcard-brands","title":"List Gift Card Brands","href":"/api-reference/endpoint/giftcards/list-brands"}]}]},{"group":"Examples","icon":"lightbulb","pages":[{"title":"Add Recipient to Campaign","icon":"address-card","tag":"Popular","href":"/workflows/campaign"},{"title":"PDF Letter Order","icon":"file-pdf","href":"/workflows/letter-pdf-order"},{"title":"Postcard Order","icon":"cards","href":"/workflows/postcard-order"},{"title":"Giftcard Order","icon":"gift","href":"/workflows/giftcard-order"}]}]},{"tab":"Native Integrations","pages":[{"title":"Native Integrations","href":"/native-integrations/introduction"}]},{"tab":"Webhooks ","pages":[{"title":"Webhooks ","href":"/webhooks/introduction"}]}]},"basePath":"","title":"Replay Order - thanks.io Direct Mail Automation Toolkit","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}