Skip to content

Reference

Resend

Connect Resend to Alter Vault for secure API access

Use Resend credentials to make authenticated API calls through Alter Vault without exposing API keys in code.

PropertyValue
Provider IDresend
CategoryCommunication
Credential TypeBearer Token

Log in to the Resend Dashboard

Log in to the Resend Dashboard at resend.com.

Navigate to API Keys

Navigate to API Keys at resend.com/api-keys.

Create an API Key

Click ‘Create API Key’ and set permissions.

Copy your API key

Copy the generated API key.

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add Resend

Go to Managed Secrets > Add Provider > Resend.

Enter credentials

Paste your API Key into the credential field.

Save

Click Save. You’ll receive a grant_id to use with the SDK.

response = await alter_app.request(
HttpMethod.POST,
"https://api.resend.com/emails",
grant_id="YOUR_GRANT_ID",
json={
"from": "Sender <sender@YOUR_VERIFIED_DOMAIN>",
"to": ["recipient@example.com"],
"subject": "Hello",
"html": "<p>Hello from Alter</p>",
},
)

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
post:/emailssendPOST/emails
post:/emails/batchsendPOST/emails/batch
post:/broadcasts/{id}/sendsendPOST/broadcasts/{id}/send
post:/emails/{email_id}/cancelwritePOST/emails/{email_id}/cancel
get:/emailsreadGET/emails
get:/emails/{email_id}readGET/emails/{email_id}
get:/emails/receivingreadGET/emails/receiving
post:/broadcastswritePOST/broadcasts
patch:/broadcasts/{id}writePATCH/broadcasts/{id}
delete:/broadcasts/{id}deleteDELETE/broadcasts/{id}
get:/broadcastsreadGET/broadcasts
post:/contactswritePOST/contacts
patch:/contacts/{id}writePATCH/contacts/{id}
delete:/contacts/{id}deleteDELETE/contacts/{id}
get:/contactsreadGET/contacts
post:/audienceswritePOST/audiences
delete:/audiences/{id}deleteDELETE/audiences/{id}
get:/audiencesreadGET/audiences
post:/templateswritePOST/templates
delete:/templates/{id}deleteDELETE/templates/{id}
post:/domainsadminPOST/domains
post:/domains/{domain_id}/verifyadminPOST/domains/{domain_id}/verify
patch:/domains/{domain_id}adminPATCH/domains/{domain_id}
delete:/domains/{domain_id}admin, deleteDELETE/domains/{domain_id}
get:/domainsreadGET/domains
post:/api-keysadminPOST/api-keys
delete:/api-keys/{api_key_id}admin, deleteDELETE/api-keys/{api_key_id}
get:/api-keysreadGET/api-keys
post:/webhooksadminPOST/webhooks
delete:/webhooks/{webhook_id}admin, deleteDELETE/webhooks/{webhook_id}
get:/webhooksreadGET/webhooks

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.