> 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/signature-integration-guide/hash-signing/bulk-hash-signing-multiple-documents/hash-signing-process/1.-start-signing-process.md).

# 1. Start Signing Process

&#x20;1\.  Once the quick set up is completed, invoke the below API.

<mark style="color:green;">**`GET`**</mark>**` `**<mark style="color:blue;">**`http://localhost:8080/v2/signature/start`**</mark>

**Headers**

| Name         | Value               |
| ------------ | ------------------- |
| Content-Type | multipart/form-data |

**Body**

| Name   | Type | Description |
| ------ | ---- | ----------- |
| `null` | null | null        |

**Response**

{% tabs %}
{% tab title="200" %}
{% code overflow="wrap" %}

```url
{
"
https://stg-id.uaepass.ae/trustedx-authserver/oauth/hsign-as?response_type=code&client_id=sandbox_stage&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fv2%2Fsignature%2Fsign-identity%3FcertType%3Dqualified&scope=urn:safelayer:eidas:sign:identity:use:server urn:uae:digitalid:backend_api:hash_signing&acr_values= &ui_locales=en&register_group_labelsM=qualified
"
}
```

{% endcode %}
{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}

<figure><img src="/files/sdvOYverlqE5IvJFcVKy" alt=""><figcaption><p><mark style="color:green;">Sample postman API request and response</mark></p></figcaption></figure>

#### Sample Curl Command

```
curl --location 'http://localhost:8080/v2/signature/start' \
--header 'Content-Type: multipart/form-data'
```

2. Invoke the URL obtained from the API response (as shown in the screenshot) in browser to obtain the sign identities and transaction id value. During this step users will be prompted to authorize and if the Application redirect URL has been configured the txId and signing Identity values will be returned as response header params. Otherwise in response body.

<figure><img src="/files/M7Vfmg6mZcxk57eRxxxV" alt=""><figcaption><p> <mark style="color:green;">User authorization sample</mark></p></figcaption></figure>

<figure><img src="/files/n5pDFQkb0Hv7vv7gkUMm" alt=""><figcaption><p><mark style="color:green;">Sample response when application redirect URL is configured.</mark></p></figcaption></figure>

<figure><img src="/files/pFyiMTqYjWROo6VoQ2J6" alt=""><figcaption><p><mark style="color:green;">Sample response if application redirect URL is not configured</mark></p></figcaption></figure>

{% hint style="info" %} <mark style="color:green;">**The transaction id remains valid for 10 mins.**</mark>
{% endhint %}


---

# 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/signature-integration-guide/hash-signing/bulk-hash-signing-multiple-documents/hash-signing-process/1.-start-signing-process.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.
