> For the complete documentation index, see [llms.txt](https://docs.truvera.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.truvera.io/truvera-workspace/creating-api-keys-and-webhook-endpoints.md).

# Creating API keys and webhook endpoints

## Creating API keys <a href="#h_4fdcc1a10e" id="h_4fdcc1a10e"></a>

To create an API key, under the Developer menu item, click API Keys. Then select Create API key.

<figure><img src="https://815575130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWRMhdRsPkUzlSqCYzbgF%2Fuploads%2Fgit-blob-6548c3440993d8eba915fe3688411773f246c848%2FScreenshot%202024-12-23%20at%2016.48.04.png?alt=media" alt=""><figcaption></figcaption></figure>

Under Whitelisted IP’s, you have the option to add additional security by configuring IP's that are allowed to access your services

<div align="left"><figure><img src="https://815575130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWRMhdRsPkUzlSqCYzbgF%2Fuploads%2Fgit-blob-6fce41e9b11351fa1ba6b32878b620c3c2668edf%2FScreenshot%202024-11-26%20at%2016.30.36.png?alt=media" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="warning" %}
Keep your API key safe, for security reasons it will not be shown again. Please do not share this key. If you forget your API key, you will need to delete the existing key and create a new one.
{% endhint %}

For more information about API [See API documentation](/truvera-api.md)

## Webhooks endpoints <a href="#h_fae99467a4" id="h_fae99467a4"></a>

You can add or modify webhook endpoints that will send events when issuing or when transactions occur. Under Developer, select Webhook and click Add Endpoint on the top right.

<figure><img src="https://815575130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWRMhdRsPkUzlSqCYzbgF%2Fuploads%2Fgit-blob-58ead73a0d41f1334f3dd185825404f52e798c8a%2FScreenshot%202024-12-23%20at%2016.49.29.png?alt=media" alt=""><figcaption></figcaption></figure>

Fill in the Webhook details and click Create Webhook.

[![](https://downloads.intercomcdn.com/i/o/797831076/f27e685f76d0e00a209759cd/6356fc0a5432fa812b8eaea6_2-Webhook+details.png)](https://downloads.intercomcdn.com/i/o/797831076/f27e685f76d0e00a209759cd/6356fc0a5432fa812b8eaea6_2-Webhook+details.png)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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 following URL with the `ask` and `goal` query parameters:

```
GET https://docs.truvera.io/truvera-workspace/creating-api-keys-and-webhook-endpoints.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
