# Event

## Event

<mark style="color:green;">`POST`</mark> `https://api.dsp.io/event`

The event handler is used between DSPs to signal events that need to be handled without the use of the blockchain, otherwise DSPs can receive events from demux.

#### Request Body

| Name     | Type    | Description                                                              |
| -------- | ------- | ------------------------------------------------------------------------ |
| receiver | string  | receiver of action, dappservices contract                                |
| method   | string  | usage/usagex depending if provisioning chain or not                      |
| account  | string  | contract event related to                                                |
| data     | object  | data of event, usage report                                              |
| event    | object  | event                                                                    |
| meta     | object  | blockchain metadata                                                      |
| replay   | boolean | whether event is intended to be a replay or an actual event between DSPs |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}
```

{% endtab %}

{% tab title="404 Could not find a cake matching this query." %}

```
{    "message": "Ain't no cake like that."}
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
Example event can be found [here](https://github.com/liquidapps-io/zeus-sdk/blob/master/boxes/groups/services/ipfs-dapp-service/utils/ipfs-service/replay-contract-hyperion.js#L60)
{% endhint %}


---

# 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.liquidapps.io/liquidapps-documentation/dapp-service-providers/dsps/dsp-api-endpoints/event.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.
