# Is there a way to copy or 'publish' a webhook from sandbox to production?

**URL:** <https://developer.squareup.com/forums/t/is-there-a-way-to-copy-or-publish-a-webhook-from-sandbox-to-production/22438>\
**Category:** Questions\
**Tags:** webhooks-api\
**Created:** [May 22, 2025, 4:33am UTC](https://developer.squareup.com/forums/t/is-there-a-way-to-copy-or-publish-a-webhook-from-sandbox-to-production/22438 "2025-05-22T04:33:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pwhipp](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/pwhipp/32/9609_2.png) [@pwhipp](https://developer.squareup.com/forums/u/pwhipp)\
**Post date:** [May 22, 2025, 4:33am UTC](https://developer.squareup.com/forums/t/is-there-a-way-to-copy-or-publish-a-webhook-from-sandbox-to-production/22438/1 "2025-05-22T04:33:57Z")

</div>

So I got my initial webhook working and I want to use it. Do I have to manually copy everything to get it out of the sandbox into production?

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [May 22, 2025, 4:34am UTC](https://developer.squareup.com/forums/t/is-there-a-way-to-copy-or-publish-a-webhook-from-sandbox-to-production/22438/2 "2025-05-22T04:34:11Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Square Sandbox](https://developer.squareup.com/docs/devtools/sandbox/overview)**
>
> An overview of the Square Sandbox, which can be used to simulate orders, invoices, payments, and transactions in a test environment.

> **[Move OAuth from the Sandbox to Production](https://developer.squareup.com/docs/oauth-api/movetoprod)**
>
> A list of tasks for a developer to take to move an application from using the Square Sandbox to a production environment.

> **Additional Documentation**
>
> [Deploy the Server](https://developer.squareup.com/docs/in-app-payments-sdk/quick-start/step-4)  
> [Get Developer Credentials](https://developer.squareup.com/docs/orders-api/quick-start/step-1)  
> [Deploy the Server](https://developer.squareup.com/docs/in-app-payments-sdk/quick-start/deploy-server-backend)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [May 22, 2025, 3:44pm UTC](https://developer.squareup.com/forums/t/is-there-a-way-to-copy-or-publish-a-webhook-from-sandbox-to-production/22438/3 "2025-05-22T15:44:16Z")

</div>

Yes, you will need to manually set up your webhook in the production environment. The Sandbox environment is isolated from the production environment, so any configurations made in the Sandbox, including webhooks, will not automatically carry over to production. You will need to go to the Developer Dashboard, switch to the production environment, and set up your webhook there with the appropriate settings and URL. Remember to also update any API endpoints or credentials in your code to their production equivalents.

_This answer was reviewed by @Bryan-Square._
