Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Sinch Api Templates List?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sinch-sinch-api-templates-list)
---
name: sinch-api-templates-list
description: List message templates from Sinch Template Management API (V2)
---
# List Message Templates
List all omni-channel message templates for your project using the Sinch Template Management API V2. Templates can have multiple translations and variables.
**IMPORTANT: Execute this command directly. Do NOT generate script files. Perform the API call immediately.**
## Input
- `--format` / `-f`: Output format (table or json) - optional, default table
Arguments: $ARGUMENTS
## Instructions
**Execute these steps directly - do not write code or scripts:**
0. If $ARGUMENTS empty: use default format (table). Otherwise parse --format.
1. Validate: --format (table|json). Get PROJECT_ID, KEY_ID, KEY_SECRET and CONVERSATION_REGION env variables. Template API base: https://{region}.template.api.sinch.com (us, eu, br). If missing, report "Sinch API is not configured."
2. GET https://{region}.template.api.sinch.com/v2/projects/{projectId}/templates with OAuth2 Bearer token.
3. Format response: table (id, description, default_translation, version, translation count) or raw JSON. Display "✅ Templates listed" with count.
4. Handle errors (401, 404) with clear messages. Handle all errors gracefully.
## Examples
```
/sinch-api-templates-list
/sinch-api-templates-list --format=json
```
## API Reference
- **Base URL**: https://{region}.template.api.sinch.com (V2 only; V1 end-of-life)
- **Endpoint**: GET /v2/projects/{project_id}/templates
- **Documentation**: https://developers.sinch.com/docs/conversation/templates/