Projects API
Add projects to a workspace and mint the keys they send with.
View as Markdown ↗All-access key. These endpoints act on your account rather than inside one project, so a project-scoped key can't reach them. How keys and scopes work.
Endpoints
/v1/projects/v1/projects/{project_id}/api-keysA project is a sending unit inside a workspace, with its own contacts, campaigns, flows, domains, and keys. Every workspace starts with one; this adds more.
Create a project
Body parameters
workspace_idstringrequiredThe workspace that will own the project.
namestringrequiredProject display name.
curl -X POST https://emailbump.com/api/v1/projects \
-H "Authorization: Bearer ebk_all_access_key" \
-H "Content-Type: application/json" \
-d '{
"workspace_id": "b1c2…",
"name": "Acme Newsletter"
}'{
"project": {
"id": "7a10…",
"workspace_id": "b1c2…",
"name": "Acme Newsletter",
"slug": "acme-newsletter-3f9a2b"
}
}Contacts, campaigns, flows, lists, and templates are all project resources — create them with the project API, using the key below or this one plus an X-Project-Id header.
Mint a project key
A project-scoped ebk_ key for the application that will send from this project. The secret is returned once and never again.
Body parameters
namestringrequiredNames the key in the project's request log — use the service and environment, e.g. checkout-production.
curl -X POST https://emailbump.com/api/v1/projects/7a10…/api-keys \
-H "Authorization: Bearer ebk_all_access_key" \
-H "Content-Type: application/json" \
-d '{ "name": "server" }'{
"key": "ebk_…",
"api_key": { "id": "9d70…", "name": "server", "prefix": "ebk_1a2b3c4" }
}