# Build a Multi-Customer App

`intent: multi-customer`

Use this path when your app accesses impact.com data on behalf of users.

### Set up OAuth 2.0

Follow the Authorization Code flow with PKCE.

* [Set Up OAuth 2.0](/rest-apis/wip-not-used-yet/authenticate/set-up-oauth-2.0.md)

### Make your first API call

Call the API with a bearer token.

Pick the base path that matches your app’s account type.

{% tabs %}
{% tab title="Brand" %}

```bash
curl -X GET "https://api.impact.com/Advertisers/{AccountSID}/Campaigns" \
  -H "Authorization: Bearer {ACCESS_TOKEN}" \
  -H "Accept: application/json"
```

{% endtab %}

{% tab title="Partner" %}

```bash
curl -X GET "https://api.impact.com/MediaPartners/{AccountSID}/Campaigns" \
  -H "Authorization: Bearer {ACCESS_TOKEN}" \
  -H "Accept: application/json"
```

{% endtab %}

{% tab title="Agency" %}

```bash
curl -X GET "https://api.impact.com/Agencies/{AccountSID}/Campaigns" \
  -H "Authorization: Bearer {ACCESS_TOKEN}" \
  -H "Accept: application/json"
```

{% endtab %}
{% endtabs %}

### Explore next step

* [Authenticate](/rest-apis/wip-not-used-yet/authenticate.md)
* [Use Webhooks](/developer-tools/webhooks.md)
* [Use Sandbox](/developer-tools/sandbox.md)


---

# 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://integrations.impact.com/rest-apis/wip-not-used-yet/build-a-multi-customer-app.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.
