API
Plans, limits, and usage
What each plan allows, how usage is counted, and the response when a limit is reached.
Every project is on a plan. The plan sets how many contacts the project can hold, how many emails it can send in a billing period, and how many API requests each key can make per minute. Open Settings, Plan & usage in VeloSend to see the current numbers, or choose the plan name at the top of any page.
What is counted
- Contacts: every contact saved in the project, in any status.
- Emails: one for each person an email is accepted for, from a campaign or from Send one email. A campaign to 5,000 people counts 5,000.
- Not counted: failed sends, bounced or unsubscribed contacts, and people skipped because they already received the email.
- API requests: each request made with a valid key. The per-minute limit applies to each key separately.
The billing period is the calendar month unless the project has its own period dates. Plan & usage shows the current period.
Owners and admins get an email when the project moves to another plan, listing the new limits. They also get one when a project passes 80 percent of its emails or contacts, and another at 100 percent. Each is sent once per billing period, and each person can turn them off in Settings, Notifications.
The limit error
Every plan limit answers the same way: HTTP 402 with this body. Nothing is saved or sent.
{
"error": "plan_limit",
"code": "plan_limit",
"message": "This plan allows 10000 emails per billing period. 0 left, and this needs 1.",
"limit_key": "emails_per_month",
"limit": 10000,
"used": 10000,
"upgrade_url": "https://velosend.xavierapps.com/dashboard/plan"
}| Field | Meaning |
|---|---|
| error | Always plan_limit. Check this to tell a plan limit apart from other errors. |
| code | The same value, matching the code field on other API errors. |
| message | A sentence you can show to a person. |
| limit_key | The limit that was reached, for example max_contacts or emails_per_month. |
| limit | What the plan allows. |
| used | How much is already used: contacts saved, or emails sent this period. |
| upgrade_url | Plan & usage, where an owner or admin can ask for a bigger plan. |
New fields may be added to this body later. Existing fields will not be renamed or removed.
Campaigns, imports, and templates
- A campaign checks the whole send first. If the plan cannot cover every waiting person, nothing is sent and the campaign goes back to draft.
- The reason is saved on the campaign and shown on the campaign page and on Plan & usage. Send the campaign again once the plan allows more emails.
- Through the API, GET /api/v1/campaigns and GET /api/v1/campaigns/{id} return last_error, last_error_code (plan_limit, list_required, mailbox_not_connected, email_not_verified, daily_send_cap, mailbox_failing, account_suspended, or project_deletion) and last_error_at. They are empty again once a send starts. daily_send_cap means the campaign is paused: its status is scheduled and scheduled_at is when it continues. mailbox_failing means the mailbox refused the sign-in or could not be reached: the status is scheduled and scheduled_at is the next try, or draft once it has failed for a day. account_suspended and project_deletion mean the campaign went back to draft because the account was suspended or the project was scheduled for deletion.
- An import checks how many new contacts it would add. If that passes the plan, nothing is imported.
- Saving a template counts the variables it uses. More than the plan allows per template returns the limit error with limit_key max_template_variables, and the template is not saved.
- Creating more contact fields than the plan allows returns the limit error with limit_key max_custom_fields, and the field is not created.
- Creating more dynamic lists than the plan allows returns the limit error with limit_key max_dynamic_lists, and the list is not created. Static lists do not count.