# Create new data

You can create new data with a POST request as shown below. Replace `your api path, your api key,` and `your end point` with your API path, API key, and endpoint.&#x20;

* Create new data

&#x20;`curl -H "Content-Type: application/json" \`\
`-H "API-TOKEN: your api key" \`\
`-d "{ \"text\": \"Hello from HatchApps!\", \"author\": \"me\" }" \`\
`https://console.hatchapps.com/api/your api path/your endpoint`\ <br>

* Here's an Example

&#x20;`curl -H "Content-Type: application/json" \`\
`-H "API-TOKEN: 42270160762429063" \`\
`-d "{ \"text\": \"Hello from HatchApps!\", \"author\": \"me\" }" \`\
`https://console.hatchapps.com/api/notes/test`\ <br>


---

# 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.hatchapps.com/api-builder/getting-started/create-new-data.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.
