> For the complete documentation index, see [llms.txt](https://docs.perkville.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.perkville.com/integrations/integration-reference/mindbody/external-location-id.md).

# External Location ID

Perkville's Mindbody integration and the Mindbody Branded App integration requires the following external location ID to be assigned to each Mindbody location in Perkville:

```
{site_id}{location_id}
```

If the `site_id` is 56789 and the `location` ID is 3, then the external location ID would be `567893`.

{% hint style="info" %}
Online stores always have the location ID of 98. In the above example, the external location ID would be 5678998.
{% endhint %}

For where to manage these mappings, see [External location IDs](https://docs.perkville.com/features/settings/location-setup/locations/external-location-ids.md).

This location-mapping value is different from the **Site ID alone** entered for [Branded MINDBODY App sign-in](https://docs.perkville.com/integrations/integration-reference/mindbody/branded-mindbody-app-sign-in.md).

## Engage app error

If you get a "Network operation failed" error or a "Redeem points failed" error when accessing the Perkville experience in the branded app, check that the external location IDs in your program are formatted correctly.

<figure><img src="https://2181708597-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSiE75SeColbiBVbet0NZ%2Fuploads%2FGOBUz5b5C41fbjJ1CNIL%2FIMG_6936.png?alt=media&amp;token=4d65aecb-901d-44da-8bba-36263332fa0b" alt="" width="188"><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.perkville.com/integrations/integration-reference/mindbody/external-location-id.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 `automate deployments from our CI pipeline` 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.
