# Smart String

Smart strings allow you to format your URL string using data given by HoloFair. They are not necessary to make REST API components work, but they help create unique requests per user.

Here are the variable provided by Smart String:

* {0} RemoteWorldModelPath (host and domain of the URL)
  * This is assigned in the Portal.
* {1} GUID (of the REST API object)
  * This is fetched using GUID component (this is predefined in the project but for the sake of ease, we are fetching it at runtime.
* {2} UUID (UUID of the local user)
  * HoloFair provides this.&#x20;
* {3} Code (code of the current Metaverse project)
  * HoloFair Portal gives each Metaverse a code when first created.

Add a SmartStringInput and a GuidComponenet.

<figure><img src="/files/hKF47GXhpvUjb2xjQvcW" alt=""><figcaption><p>Example of how Smart String is implmeneted.</p></figcaption></figure>


---

# 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.holofair.app/development/features/rest-api-integration/smart-string.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.
