# AhaSend Templates API

**Canonical:** https://apis.io/apis/ahasend/ahasend-templates-api/  
**Provider:** AhaSend — https://apis.io/providers/ahasend/  
**Base URL:** https://api.ahasend.com  
**Documentation:** https://ahasend.com/docs

AhaSend Templates API is one of 17 APIs that [AhaSend](https://apis.io/providers/ahasend/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Templates. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, and authentication docs.

Create, change, publish and delete the account's transactional templates, and read them with their drafts, their published versions and the variables a send must supply

## Operations (11)

| Method | Path | Summary |
|---|---|---|
| GET | `/v2/accounts/{account_id}/templates` | List Templates |
| POST | `/v2/accounts/{account_id}/templates` | Create Template |
| GET | `/v2/accounts/{account_id}/templates/{template_id}` | Get Template |
| PUT | `/v2/accounts/{account_id}/templates/{template_id}` | Update Template |
| DELETE | `/v2/accounts/{account_id}/templates/{template_id}` | Delete Template |
| GET | `/v2/accounts/{account_id}/templates/{template_id}/draft` | Get Template Draft |
| DELETE | `/v2/accounts/{account_id}/templates/{template_id}/draft` | Discard Template Draft |
| POST | `/v2/accounts/{account_id}/templates/{template_id}/publish` | Publish Template |
| GET | `/v2/accounts/{account_id}/templates/{template_id}/versions` | List Template Versions |
| GET | `/v2/accounts/{account_id}/templates/{template_id}/versions/{version_id}` | Get Template Version |
| POST | `/v2/accounts/{account_id}/templates/{template_id}/versions/{version_id}/restore` | Restore Template Version |

## Machine-readable artifacts (5)

- **OpenAPI** — https://artifacts.apis.io/ahasend/openapi/ahasend-templates-api-openapi.yml
- **Documentation** — https://ahasend.com/docs
- **APIReference** — https://ahasend.com/docs/api-reference/sub-accounts/overview
- **GettingStarted** — https://ahasend.com/docs/quickstart
- **Authentication** — https://ahasend.com/docs/api-reference/authentication

## Other AhaSend APIs (12)

- [AhaSend Accounts API](https://apis.io/apis/ahasend/ahasend-accounts-api/)
- [AhaSend API Keys API](https://apis.io/apis/ahasend/ahasend-api-keys-api/)
- [AhaSend Domains API](https://apis.io/apis/ahasend/ahasend-domains-api/)
- [AhaSend Email API](https://apis.io/apis/ahasend/ahasend-email-api/)
- [AhaSend Messages API](https://apis.io/apis/ahasend/ahasend-messages-api/)
- [AhaSend Routes API](https://apis.io/apis/ahasend/ahasend-routes-api/)
- [AhaSend SMTP Credentials API](https://apis.io/apis/ahasend/ahasend-smtp-credentials-api/)
- [AhaSend Statistics API](https://apis.io/apis/ahasend/ahasend-statistics-api/)
- [AhaSend Suppressions API](https://apis.io/apis/ahasend/ahasend-suppressions-api/)
- [AhaSend Utility API](https://apis.io/apis/ahasend/ahasend-utility-api/)
- [AhaSend Webhooks API](https://apis.io/apis/ahasend/ahasend-webhooks-api/)
- [AhaSend Campaign Templates API](https://apis.io/apis/ahasend/ahasend-campaign-templates-api/)

## Tags

Templates

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/ahasend/ahasend-templates-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/ahasend/.
