> For the complete documentation index, see [llms.txt](https://2sign-co-il.gitbook.io/2sign.co.il-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://2sign-co-il.gitbook.io/2sign.co.il-docs/templates/get-tamplates-info.md).

# Get tamplates info

Before using the API, you must set up your documents inside the web app.2sign.co.il .

* **Upload Files:** Upload your base PDF or document directly to the platform.
* **Visual Drag & Drop:** Use our intuitive annotator interface to drag, drop, and align dynamic fields exactly where they need to appear on the page.

Relevant for regular template and signature routine template.

Request Body Example

{% code title="URI Parameters" overflow="wrap" lineNumbers="true" %}

```
{
    "token":"", // ClientId - You can find in API setting on your account.
    "templateid":1612
}
```

{% endcode %}

## GET /api/v2/Templates/GetTemplateById

> GetTemplateById

```json
{"openapi":"3.1.1","info":{"title":"Customer API","version":"1.0.0"},"servers":[{"url":"/"}],"paths":{"/api/v2/Templates/GetTemplateById":{"get":{"tags":["Templates"],"summary":"GetTemplateById","operationId":"GetTemplateById_GET","parameters":[{"schema":{"type":"string"},"name":"token","in":"query","required":true},{"schema":{"type":"integer"},"name":"id","in":"query","required":true}],"responses":{"200":{"description":"Success (Custom Example)","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request"},"500":{"description":"Internal Server Error"}}}}}}
```

## GET /api/v2/Templates/GetTemplateBySearchParams

> GetTemplateBySearchParams

```json
{"openapi":"3.1.1","info":{"title":"Customer API","version":"1.0.0"},"servers":[{"url":"/"}],"paths":{"/api/v2/Templates/GetTemplateBySearchParams":{"get":{"tags":["Templates"],"summary":"GetTemplateBySearchParams","operationId":"GetTemplateBySearchParams_GET","parameters":[{"schema":{"type":"string"},"name":"token","in":"query","required":true},{"schema":{"type":"integer"},"name":"templateId","in":"query","required":false},{"schema":{"type":"string"},"name":"templateNumber","in":"query","required":false},{"schema":{"type":"string"},"name":"templateName","in":"query","required":false}],"responses":{"200":{"description":"Success (Custom Example)","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request"},"500":{"description":"Internal Server Error"}}}}}}
```


---

# 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://2sign-co-il.gitbook.io/2sign.co.il-docs/templates/get-tamplates-info.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.
