Error codes
not_found
The requested resource doesn't exist.
Status: 404 · Code: not_found
The resource you asked for (an email, template, domain, webhook, contact, etc.) doesn't exist on this workspace.
Common causes
- Typo in the ID
- The resource was deleted
- Using a
sk_test_key to look up ask_live_resource, or vice versa — your API key scopes the workspace, and resources don't cross workspaces - Copy-pasted the ID from the dashboard but picked up a trailing ellipsis or zero-width character
How to fix
Verify the ID with a list call against the matching collection:
curl -H "Authorization: Bearer $SEND0_API_KEY" \
"https://api.send0.dev/v1/emails?limit=10"Every ID has a predictable prefix:
| Prefix | Resource |
|---|---|
em_, rec_ | Emails, recipients |
tmpl_ | Templates |
dom_ | Domains |
con_ | Contacts |
wh_, evt_ | Webhook endpoints, events |
key_ | API keys |
If the prefix doesn't match what the endpoint expects, the ID will 404 even if it exists elsewhere.