# GET /api/templates/{type}/search/{keyword} > Templates - Search Templates of a type (Read-Only) Turns a template name into a template id. Email templates are matched on template_name and email_subject, ticket templates on title and description, contract and proposal templates on title. Bodies are not returned. The default page size is 20 rows; send limit to ask for more, up to 500. The cap that was applied comes back in the X-Result-Limit response header, the ceiling in X-Result-Max-Limit, and X-Result-Truncated says whether the cap is what ended the list. - **Endpoint:** `GET /api/templates/{type}/search/{keyword}` - **Group:** Templates - **Since:** v1.0.0 - **Defined in:** `RestApi/Controllers/TemplatesController.php` ## Headers | Field | Type | Description | | --- | --- | --- | | `authtoken` | String | Authentication token, generated from admin area | ## Parameters | Field | Type | Required | Description | | --- | --- | --- | --- | | `type` | String | yes | Template type | | `keyword` | String | yes | Search keywords | | `limit` | Number | no | Optional page size, 1 to 500. Defaults to 20 | ## Request example ```bash curl -X GET "https://yoursite.com/index.php/api/templates/lead/search/acme" \ -H "authtoken: YOUR_API_TOKEN" ``` ## Responses ### Success - Success-Response: ```json HTTP/1.1 200 OK [ { "id": "1", "template_name": "login_info", "email_subject": "Login details", "template_type": "default", "language": "" } ] ``` ### Error - No-Data: ```json HTTP/1.1 404 Not Found { "status": false, "messages": { "error": "No data were found" } } ``` --- Part of the [REST API for RISE CRM](https://risecrm.themesic.com/apiguide/) documentation. Full page: https://risecrm.themesic.com/apiguide/templates/search-templates/