Skip to main content

Authentication

All API requests require authentication via an API key passed in the X-API-Key header.

Get your API key

  1. Log in to twixb.com
  2. Go to Settings
  3. Click Generate API Key
  4. Copy the key immediately — it is only shown once
Your API key looks like this: twxb_a3f8...
Store your API key securely. It grants full access to your account. If compromised, revoke it immediately from Settings and generate a new one.

Making requests

Include your API key in every request using the X-API-Key header:
curl https://twixb.com/api/v1/newsfeeds \
  -H "X-API-Key: twxb_your_key_here"

Base URL

All API endpoints use the following base URL:
https://twixb.com/api/v1

Response format

All responses are JSON. Successful responses return 200 with data or 204 for deletions. Errors return standard HTTP status codes:
StatusDescription
200Success
204Deleted successfully (no body)
401Missing or invalid API key
403Not authorized to access this resource
404Resource not found
422Validation error

Rate limits

The API currently does not enforce rate limits, but please be reasonable with your usage.