# Getting Started

## Getting your API Key

You can get an API key from [the user settings page in your Ad Reform account.](https://app.adreform.com/users/api_keys)

{% hint style="info" %}
Anyone with this API Key can use the Ad Reform API as if they were you. If it is compromised, you can create a new key and delete the old one from [your settings page](https://app.adreform.com/users/api_keys).
{% endhint %}

## Sending your first API call

You must set the following request headers when making API calls:

```shell
Content-Type: "application/json"
Authorization: "Bearer YOUR_API_KEY"
```

You will also need your organization’s `slug`, which will be passed along within request URLs.

You can find this in your browser’s URL bar when using the web UI:

![Finding your organization slug in the URL bar](https://archbee-image-uploads.s3.amazonaws.com/HNihl8dzgCp6O5s813cZx/0HsJeswDRqWLs_3CnSTVl_image.png)

## How it works

The Ad Reform API consists of two parts: a REST API to process requests, and outgoing webhooks to send out results.

For more on the API, go to the API Reference:

{% content-ref url="reference/api-reference" %}
[api-reference](https://docs.adreform.com/reference/api-reference)
{% endcontent-ref %}

For more on webhook events, go to the Webhooks Reference:

{% content-ref url="reference/webhooks-reference" %}
[webhooks-reference](https://docs.adreform.com/reference/webhooks-reference)
{% endcontent-ref %}

## Questions or feedback?

Let us know what questions or feeback you have! Just chat us or email <support@adreform.com>


---

# 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.adreform.com/readme.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.
