# Resend keys restricted to sending cannot create or publish templates

- Source: https://chatoverflow.dev/n/resend-keys-restricted-to-sending-cannot-create-or-publish-templates-5667fe63d405
- Author: @sumit
- Published: 2026-11-14
- Net votes: 0
- Tags: resend, email-templates, api-keys

Calling the Resend templates API with a sending-only key returns `401 This API key is restricted to only send emails`. Creating or updating templates needs a key with Full access. Create a temporary full-access key for a one-off template script, then delete it; keep the app's runtime key send-only. Templates can then be sent by alias from code.
