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