Developer Reference

Bleyvo Public REST API & Webhooks Documentation

Sync contacts programmatically, check workspace suppression compliance, retrieve campaign statistics, and receive real-time HMAC-SHA256 signed delivery, bounce, open, and click webhooks.

Bearer Token Auth

Every /api/v1/* request requires Authorization: Bearer <API_KEY> scoped to your active workspace.

Suppression Protection

POST /api/v1/subscribers automatically checks workspace global blacklist suppressions and rejects blocked emails with HTTP 400.

Real-Time Webhooks

Receive HMAC-SHA256 signed delivery, bounce, complaint, open, click, and unsubscribe events directly at your application endpoints.

REST API v1 Reference (https://console.bleyvo.com/api/v1)
GET/api/v1/lists— List workspace contact lists & IDs (also supports GET /api/v1/lists/:id & POST /api/v1/lists)
curl https://console.bleyvo.com/api/v1/lists \
  -H "Authorization: Bearer bv_live_YOUR_API_KEY"
POST/api/v1/subscribers— Add or update a subscriber in a contact list

Required fields: listId, email. Optional: firstName, lastName, tags, customFields, double_opt_in (default false). Also supports GET /api/v1/subscribers, PATCH /api/v1/subscribers/:id, DELETE /api/v1/subscribers/:id, and POST /api/v1/subscribers/unsubscribe.

curl -X POST https://console.bleyvo.com/api/v1/subscribers \
  -H "Authorization: Bearer bv_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "listId": "your-list-uuid",
    "email": "subscriber@example.com",
    "firstName": "Sarah",
    "lastName": "Vance",
    "tags": ["newsletter", "trial"],
    "double_opt_in": false
  }'
GET/api/v1/forms— List signup forms, statuses & conversion stats (also supports GET /api/v1/forms/:id)
curl https://console.bleyvo.com/api/v1/forms \
  -H "Authorization: Bearer bv_live_YOUR_API_KEY"
GET/api/v1/campaigns— List campaigns & authoritative stats (also supports GET /api/v1/campaigns/:id & POST /api/v1/campaigns for draft creation)
curl https://console.bleyvo.com/api/v1/campaigns \
  -H "Authorization: Bearer bv_live_YOUR_API_KEY"

Inbound Provider Webhooks & Outbound HMAC Signing

Configure your SMTP provider to post delivery, bounce, complaint, and delay webhooks to POST https://console.bleyvo.com/api/webhooks/incoming/:provider/:workspaceId. Supported providers include amazon-ses, sendgrid, mailgun, brevo, postmark, mailjet, smtp2go, mailtrap, mailersend, and sparkpost.