# Register Webhooks

{% hint style="danger" %}
Webhook registration is coming soon! For assistance in the meantime, please reach out to the Magna team.
{% endhint %}

### Adding a Webhook URL

1. **Log in to Your** [**Magna Account**](https://app.magna.so)**:** Navigate to the Magna dashboard and sign in with your credentials.
2. **Navigate to Webhooks Settings:**
   * Go to the Settings section.
   * Click on **Webhooks**.
3. **Add a New Webhook:**
   * Click the **Add Webhook** button.
   * Enter your endpoint URL where Magna will send the webhook events (e.g., `https://yourdomain.com/webhook`).
   * **Select Supported Action: (coming soon)**
     * Currently, only **Order Creation** is supported. Ensure this is the action selected.
4. **Save the Webhook:**
   * After configuring, click **Save** to register the webhook.

### Supported Actions

* **Order Creation:** Receive notifications whenever a new order is created within Magna.
* (more coming soon!)

### Secret Generation

Upon adding a webhook URL, Magna will automatically generate a unique **secret** for that webhook. This secret is crucial for verifying the authenticity of incoming requests. **Ensure you store this secret securely** as it will be used to validate the signatures of the webhook payloads.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.magna.so/magna-api-documentation/webhooks/register-webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
