> For the complete documentation index, see [llms.txt](https://dreetje-1.gitbook.io/inbox-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dreetje-1.gitbook.io/inbox-ai/integrations/x-callback-url.md).

# X-Callback-URL

You can run any X-Callback-URL by creating a [Terminal Command](/inbox-ai/actions/custom-actions/terminal-command.md) action like the one below.

<figure><img src="/files/IJ4eMz1bE5wHLLGohzIO" alt=""><figcaption><p>A very basic Terminal Command</p></figcaption></figure>

The command above uses the `open` Terminal Command to open a URL. Use [Action Variables](/inbox-ai/actions/action-variables.md) to customize the url and give your AI more options.

### Controlling Inbox AI through x-callback-urls

Each action has a url assocoated with it. Right click the action to copy the url:

<figure><img src="/files/FRTnFIDHrp0FIk6tYSW0" alt=""><figcaption><p>Right click to get the x-callback-url of any action</p></figcaption></figure>

The URL looks like this:

```
inboxai://execute?action=STRING&xxx=STRING&originalInput=STRING
```

Where `action` is the id of the action, `originalInput` is the original import, and a set of variables (the AI variables defined for your action under "Edit variables").

Additionally, you can also trigger any assigned hotkey using one of these URLs:

```
inboxai://audio
inboxai://screenshot
inboxai://audio?action=STRING&originalInput=STRING
inboxai://screenshot?action=STRING
```

These will trigger a screenshot or audio action, including the associated UI. Note that you need to have a hotkey setup for each action you control this way (i.e. else you cannot stop/start recording)

{% hint style="info" %}
The screenshot and audio x-callback action do not support sending any ai variables.
{% endhint %}
