> For the complete documentation index, see [llms.txt](https://dev.pointr.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.pointr.tech/features/indoor-maps/map-personas/step-1-configure-map-personas-in-pointr-cloud.md).

# Step 1 - Configure Map Personas in Pointr Cloud

Map personas are configured in Pointr Cloud, where you turn each map persona on or off, choose what it can see and use, and publish the changes.

{% stepper %}
{% step %}

## Configure map personas

In Pointr Cloud, go to **Settings → Map Personas** to edit the 6 map personas. You can:

* Set the default map persona
* Turn map personas on or off
* Change each map persona's Persona Identifier or map style
* Publish your map persona settings

These settings apply to **all sites** in your client.

{% tabs %}
{% tab title="Dashboard" %}
{% embed url="<https://app.storylane.io/share/qhetoxsuqgen>" %}
{% endtab %}

{% tab title="REST API" %}
**Update a Persona**\
Endpoint: **`PUT`**

`api/v10/content/draft/clients/{clientIdentifier}/personas/{personaKey}`

<details>

<summary>Example - Request Body &#x26; Success Response</summary>

**Request Body:**

```json
{
    "styleUrl": "https://cdn.pointr.tech/style/10/light_osm.json",
    "personaIdentifier": "ab12c"
}
```

**Success Response:**

```json
{
   "message": "Persona updated successfully."
}
```

</details>

**Get Personas**\
Endpoint: **`GET`**

`api/v10/content/draft/clients/{clientIdentifier}/personas`

Returns one object per map persona. The example shows the first one.

<details>

<summary>Example - Success Response</summary>

**Success Response:**

```json
[
    {
        "key": "customer",
        "personaIdentifier": "AYEjM",
        "displayName": "Customer",
        "description": "A person whose presence gives the space its purpose — they have an active relationship with the venue through booking, enrollment, ticket, membership, or tenancy, and are present to receive or use the venue's primary offering.",
        "styleUrl": "https://cdn.pointr.tech/31faf5e1-c759-471d-9a69-54bcc53d5d33/styles/v10/personas/customer/1779288841812/generic_customer_osm.json",
        "dashboardStyleUrl": "https://cdn.pointr.tech/31faf5e1-c759-471d-9a69-54bcc53d5d33/styles/v10/personas/customer/1779288841812/dashboard/style.json",
        "isDefault": true,
        "isEnabled": true,
        "color": "#FF9800"
    }
]
```

</details>

**Get Published Personas**\
Endpoint: **`GET`**

`api/v10/content/published/clients/{clientIdentifier}/personas`

Returns the published map personas, in the same format as **Get Personas**.

**Publish Personas**\
Endpoint: **`POST`**

`api/v10/content/publisher/clients/{clientIdentifier}/publish-personas`

<details>

<summary>Example - Success Response</summary>

**Success Response:**

```json
{
  "message": "Personas publish has been started."
}
```

</details>

**Get Personas Publish Status**\
Endpoint: **`GET`**

`api/v10/content/publisher/clients/{clientIdentifier}/publish-personas-status`

<details>

<summary>Example - Success Response</summary>

**Success Response:**

```json
{
  "status": "inProgress",
  "message": "Persona publish is in progress.",
  "lastPublishedDate": "2024-12-09T19:51:48Z"
}
```

</details>

**Set Default Persona**\
Endpoint: **`POST`**

`api/v10/content/draft/clients/{clientIdentifier}/personas/{personaKey}/set-default`

**Enable Persona**\
Endpoint: **`POST`**

`api/v10/content/draft/clients/{clientIdentifier}/personas/{personaKey}/enable`

**Disable Persona**\
Endpoint: **`POST`**

`api/v10/content/draft/clients/{clientIdentifier}/personas/{personaKey}/disable`

**Reset Persona Style**\
Endpoint: **`POST`**

`api/v10/content/draft/clients/{clientIdentifier}/personas/{personaKey}/reset-style`
{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

## Choose what each map persona sees

Each map persona already has a default set of visible POIs, based on each POI's type (see [What can each map persona see?](https://dev.pointr.tech/features/indoor-maps/map-personas/common-questions.md#what-can-each-map-persona-see)).

To change what a map persona sees, follow the tutorial below. You can:

* Assign individual POIs to map personas
* Assign a whole POI category at once
* Create map content for specific map personas

{% hint style="info" %}
**A map persona can't find or navigate to POIs hidden from it.** For example, if an operating room is assigned only to Staff, Facility Manager and Contractor, visitors can't search for it or get directions to it.
{% endhint %}

{% tabs %}
{% tab title="Dashboard" %}
{% embed url="<https://app.storylane.io/share/ouhy8k3htmoe>" %}
{% endtab %}

{% tab title="REST API" %}
**Assign POIs to Personas**\
Endpoint: **`POST`**

`api/v10/content/draft/clients/{clientIdentifier}/sites/{siteIdentifier}/pois`

<details>

<summary>Example - Request Body &#x26; Success Response</summary>

**Request Body:**

```json
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "mainType": "section",
        "subType": "exhibit-hall",
        "mapPersonas": [
            "visitor",
            "customer",
            "staff",
            "facilityManager",
            "contractor",
            "vip"
        ],
        "fid": "239ee74e-deb1-4525-afcf-4d59d93999fe",
        "lvl": 1,
        "bid": "239ee74e-deb1-4525-afcf-3d59d93999fe",
        "sid": "239ee74e-deb1-4525-afcf-2d59d93999fe",
        "name": "Exhibition Hall",
        "name_ar": "مثال على الاسم",
        "name_en": "Poi Name EN",
        "name_ar_AE": "مثال على الاسم",
        "name_tr": "Poi Name TR",
        "extra": {
          "exampleKey": "exampleValue"
        }
      },
      "geometry": {
        "coordinates": [
          [
            [-87.65376826, 41.88388598],
            [-87.65376875, 41.8838876],
            [-87.65376913, 41.88390733],
            [-87.65374207, 41.88390762],
            [-87.65374171, 41.88388879],
            [-87.65374169, 41.88388789],
            [-87.65375626, 41.88388774],
            [-87.65376826, 41.88388598]
          ]
        ],
        "type": "Polygon"
      }
    }
  ]
}
```

**Success Response:**

```json
{
  "message": "POIs for site '{siteIdentifier}' were successfully processed."
}
```

</details>
{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

## Assign geofences to map personas

Newly created geofences apply to all enabled map personas by default.

To change which map personas a geofence applies to, follow the tutorial below. You can:

* Select map personas for each GPS geofence under **Visibility**
* Select map personas for each beacon geofence under **Visibility**

{% hint style="info" %}
**Geofences trigger only for the map personas they're assigned to.** For example, if a "Welcome to the staff lounge" geofence is assigned only to Staff, visitors who walk past won't get the message.
{% endhint %}

{% tabs %}
{% tab title="Dashboard" %}
{% embed url="<https://app.storylane.io/share/wemjaqphqyin>" %}
{% endtab %}

{% tab title="REST API" %}
**Assign Geofences to Personas**\
Endpoint: **`POST`**

`api/v10/content/draft/clients/{clientIdentifier}/sites/{siteIdentifier}/gps-geofences`

<details>

<summary>Example - Request Body &#x26; Success Response</summary>

**Request Body:**

```json
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "sid": "6baa9455-e3e7-0682-1643-046359897187",
        "fid": "6baa9455-e3e7-0682-1643-046359897187",
        "name": "M+MUSEUM_ENTER",
        "name_ar": "مثال على الاسم",
        "name_en": "Gps Geofence Name EN",
        "name_ar_AE": "مثال على الاسم",
        "name_tr": "Gps Geofence Name TR",
        "mainType": "geofence",
        "subType": "gps-geofence",
        "mapPersonas": [
            "visitor",
            "customer",
            "staff",
            "facilityManager",
            "contractor",
            "vip"
        ],
        "enterNotification": {
          "once": false,
          "message": "Welcome to the museum.",
          "message_el": "<GREEK_MESSAGE>",
          "message_tr_TR": "<TURKISH_MESSAGE>",
          "coolDownMinutes": 30
        },
        "exitNotification": {
          "once": true,
          "message": "Thanks for visiting.",
          "message_el": "<GREEK_MESSAGE>",
          "message_tr_TR": "<TURKISH_MESSAGE>",
          "coolDownMinutes": 30
        },
        "extra": {}
      },
      "geometry": {
        "coordinates": [
          [
            [0.03850703, 0.06771042],
            [0.03874183, 0.06771099],
            [0.0387452, 0.06771097],
            [0.03874524, 0.06776459],
            [0.03874296, 0.06803444],
            [0.03874296, 0.06803849],
            [0.03861891, 0.06803849],
            [0.03852766, 0.06803799],
            [0.03850798, 0.06801445],
            [0.03850703, 0.06771042]
          ]
        ],
        "type": "Polygon"
      }
    }
  ]
}
```

**Success Response:**

```json
{
  "message": "Gps-geofences for site '{siteIdentifier}' were successfully processed."
}
```

</details>
{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

## Assign paths and transitions to map personas

Newly created paths and transitions apply to all enabled map personas by default.

To change which map personas can use them, follow the tutorial below. You can:

* Select map personas for each path under **Visibility**
* Select map personas for each transition (such as an elevator or escalator) under **Visibility**

{% hint style="info" %}
**Directions use only the paths and transitions a map persona can use.** For example, if a staff elevator is assigned only to Staff, visitors are never routed through it.
{% endhint %}

{% tabs %}
{% tab title="Dashboard" %}
{% embed url="<https://app.storylane.io/share/ekdasbdbcdmf>" %}
{% endtab %}

{% tab title="REST API" %}
**Assign Paths to Personas**\
Endpoint: **`POST`**

`api/v10/content/draft/clients/{clientIdentifier}/sites/{siteIdentifier}/paths`

<details>

<summary>Example - Request Body &#x26; Success Response</summary>

**Request Body:**

```json
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "neighbors": [
          {
            "fid": "94abf645-9baa-4783-86c9-95c25dee06a2",
            "speed": 1
          }
        ],
        "transitionNeighbors": [
          {
            "fid": "64ba261d-5294-4928-bfed-683ac020da05"
          }
        ],
        "transitionGroupId": "ac3833d5-fa50-4cfc-8f44-8093bcd6e9a1",
        "mainType": "wayfinding-network",
        "subType": "escalator-node",
        "mapPersonas": [
            "visitor",
            "customer",
            "staff",
            "facilityManager",
            "contractor",
            "vip"
        ],
        "travelTime": 10,
        "isAccessible": true,
        "isComfortable": true,
        "name": "corridor",
        "name_ar": "مثال على الاسم",
        "name_en": "Path Name EN",
        "name_ar_AE": "مثال على الاسم",
        "name_tr": "Path Name TR",
        "eid": "eid",
        "sid": "94abf645-9baa-4783-86c9-95c25dee06a2",
        "bid": "94abf645-9baa-4783-86c9-95c25dee06a2",
        "lvl": 1,
        "fid": "267f8d1f-6e2f-4d46-9ea8-c63886a860da"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          -104.8390169,
          39.74310121
        ]
      }
    }
  ]
}
```

**Success Response:**

```json
{
  "message": "Paths for site '{siteIdentifier}' were successfully processed."
}
```

</details>
{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

## Publish your changes

Changes stay in **Draft** until you publish them. Map persona settings and site content are published separately.

To publish your site content, follow the tutorial below. You can:

* Publish POIs, geofences, paths, and transitions for a site
* Check the publish status

Publishing runs in the background. Once the status is `completed` Pointr Express® and the SDKs get the changes.

{% tabs %}
{% tab title="Dashboard" %}
{% embed url="<https://app.storylane.io/share/ct3tanucyulg>" %}
{% endtab %}

{% tab title="REST API" %}
**Publish Site Content**\
Endpoint: **`POST`**

`api/v10/content/publisher/clients/{clientIdentifier}/sites/{siteIdentifier}/publish-contents`

<details>

<summary>Example - Success Response</summary>

**Success Response:**

```json
{
  "message": "Site content publish has been started."
}
```

</details>

**Get Site Publish Status**\
Endpoint: **`GET`**

`api/v10/content/publisher/clients/{clientIdentifier}/sites/{siteIdentifier}/publish-contents-status`

<details>

<summary>Example - Success Response</summary>

**Success Response:**

```json
{
  "status": "completed",
  "message": "Site content publish is completed.",
  "lastPublishedDate": "2024-12-09T19:51:48Z"
}
```

</details>
{% endtab %}
{% endtabs %}

Publish each part you changed:

<table><thead><tr><th width="169.60546875">What you changed</th><th width="238.6875">How to publish</th><th>Publish button</th></tr></thead><tbody><tr><td><strong>Map persona settings</strong><br>Default map persona, on/off, Persona Identifier, map style</td><td><p><strong>Dashboard:</strong> Settings → Map Personas → Publish</p><p><strong>API:</strong> <code>publish-personas</code> (see <a href="https://dev.pointr.tech/features/indoor-maps/map-personas/step-1-configure-map-personas-in-pointr-cloud.md#configure-map-personas">Configure map personas</a>, REST API tab)</p></td><td><img src="https://2107440607-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX0ubTdDuDEByHfWtKKVg%2Fuploads%2FFmajblPjQ3sDRI8w6Q6M%2Fsetting-publish.png?alt=media&#x26;token=144c48bd-cdb7-4b51-9ca8-d53b8443f3d4" alt="Publish button for Map Personas in Pointr Cloud Dashboard settings"></td></tr><tr><td><strong>Site content</strong><br>POIs, geofences, paths, and transitions</td><td><p><strong>Dashboard:</strong> follow the tutorial above</p><p><br><strong>API:</strong> <code>publish-contents</code> (see the REST API tab above)</p></td><td><img src="https://2107440607-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX0ubTdDuDEByHfWtKKVg%2Fuploads%2FYek5rGqvkM7t37D2LfBa%2Fcontent-publish.png?alt=media&#x26;token=db63707a-61fb-4a02-acc4-988c97e62c33" alt="Publish button for site content in Pointr Cloud Dashboard"></td></tr></tbody></table>
{% endstep %}
{% endstepper %}


---

# 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://dev.pointr.tech/features/indoor-maps/map-personas/step-1-configure-map-personas-in-pointr-cloud.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.
