SubscriberAPI.io

Knowledgebase

Popular:

Getting Started

View all
Create your first API key 2 min
In the dashboard go to Developers → API Keys, click New Key, choose scopes, and copy the value. Use it as a Bearer token in the Authorization header.
Hello API — create a subscriber 3 min
curl -X POST https://subscriberapi.io/api/subscribers \
  -H "Authorization: Bearer <key>" -H "Content-Type: application/json" \
  -d '{"email":"user@example.com","name":"Ada"}'

Subscribers

View all
Update subscriber profile 2 min
PATCH /api/subscribers/sub_123
{
  "name": "Ada Lovelace",
  "metadata": {"team_size": 8}
}
Delete a subscriber 1 min
Soft-delete or purge PII per your policy. Example: DELETE /api/subscribers/sub_123.

Plans

View all
Create a plan with features 3 min
POST /api/plans
{
  "name": "Pro",
  "price_cents": 2900,
  "billing_interval": "monthly",
  "features": ["priority_support","sso","audit_logs"]
}
Update plan pricing 2 min
PATCH /api/plans/plan_pro
{"price_cents": 3900}

Licenses

View all
Issue and activate a license 4 min
POST /api/licenses
{"plan_id":"plan_pro","seats":5,"notes":"Acme desktop"}

POST /api/licenses/activate
{"key":"key_xxx","device_id":"macbook-ada"}
Verify a license offline 3 min
Store the signed token after activation and validate signature/expiry locally; renew on next heartbeat.

Meters

View all
Record usage 2 min
POST /api/meters/record
{"user_id":"sub_123","meter":"projects.create","amount":1}
Show a quota bar in your UI 3 min
Poll /api/meters/summary and render a progress bar based on usage / limit.

Custom Fields

View all
Define a reusable field 3 min
POST /api/custom-fields
{
  "key": "team_size",
  "label": "Team Size",
  "type": "number",
  "scope": "subscriber",
  "required": false,
  "default": 1
}
Use custom fields via metadata 2 min
Update a subscriber or plan with values under metadata:
PATCH /api/subscribers/sub_123
{
  "metadata": {"team_size": 12}
}

Webhooks

View all
Verify webhook signatures 4 min
Validate the X-Subscriber-Signature header using your shared secret (HMAC SHA-256).
Webhook events & retries 3 min
We retry with backoff for up to 24h on non-2xx responses. Example events: subscription.updated, license.activated, quota.exceeded.

Troubleshooting

View all
401 Unauthorized 1 min
Check your Bearer token, key scope, and HTTPS usage.
429 Rate limit exceeded 1 min
Implement exponential backoff and honor Retry-After.