# Example Call

An example `curl` command for uploading data is shown below.

&#x20;In your API requests, the fields `events`, `custom` and `publisher` are required. Incorrect or missing fields will result in a 400 error.&#x20;

<pre class="language-Shell"><code class="lang-Shell"><strong>curl -X POST 'https://api.depinscan.io/api/upload-device-metrics' -H 'Content-Type: application/json' -H 'Authorization: mc.' -d '{
</strong><strong>  "uid": "78a4c60c-**",
</strong>  "events": [
    {
      "custom": {
        "longitude": 90.2,
        "latitude": 22
      },
      "publisher": 123123
    },
    {
      "custom": {
        "longitude": 90.2,
        "latitude": 22
      },
      "publisher": 123123
    }
  ]
}'
</code></pre>


---

# 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.depinscan.io/developer/map-integration/example-call.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.
