> For the complete documentation index, see [llms.txt](https://docs.uaepass.ae/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uaepass.ae/feature-guides/data-sharing-authorization/integration-scenarios.md).

# Integration Scenarios

The following are the typical runtime integration scenarios that can occur during a data authorization request.

#### <mark style="color:green;">**Successful Authorization Flow Without Any Error**</mark>&#x20;

The sequence below illustrates the successful end-to-end flow where UAE Pass receives and processes the authorization request and successfully sends the response back to the Data owner through their callback API.

<figure><img src="/files/erGXGCqCBz0Qs3AHrZwQ" alt="" width="563"><figcaption><p>Successful Authorization Flow without any error Diagram</p></figcaption></figure>

#### <mark style="color:green;">**Successful Authorization Flow with Callback API Failure & Automatic Retry**</mark>

The sequence below shows how automatic retry mechanism works in UAE Pass when sending user’s response to the Data owner. The initial attempt to send a response to the callback API fails (step 5), but subsequent automatic retries succeed.

<figure><img src="/files/fHd2uziz4vj8ITuvKPBd" alt=""><figcaption><p>Successful Authorization Flow with Callback API Failure &#x26; Automatic Retry Diagram</p></figcaption></figure>

#### <mark style="color:green;">**Callback Failure Flow**</mark>

The sequence below illustrates a scenario where UAE Pass processes an authorization request from the Data Owner but fails to deliver the user’s response to the callback API, despite multiple retry attempts. &#x20;

Once the expected time to receive the callback API response from the UAE Pass elapses, the Data Owner will invoke the status API (step 7) provided by the UAE Pass to retrieve the latest status of the request.&#x20;

<figure><img src="/files/8XZl7xrZHwz7tN7LXo3F" alt=""><figcaption><p>Callback Failure Flow Diagram</p></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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.uaepass.ae/feature-guides/data-sharing-authorization/integration-scenarios.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
