Management Endpoints

Full reference for Sources, Destinations, Connections, and Event inspection REST APIs.

Sources

List Sources

GET /v1/sources

curl -X GET https://api.bunnylynk.com/v1/sources \
  -H "Authorization: Bearer $BUNNYLYNK_API_KEY"

Create Source

POST /v1/sources

curl -X POST https://api.bunnylynk.com/v1/sources \
  -H "Authorization: Bearer $BUNNYLYNK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Stripe Production",
    "slug": "stripe-prod",
    "provider": "stripe"
  }'

Destinations

List Destinations

GET /v1/destinations

curl -X GET https://api.bunnylynk.com/v1/destinations \
  -H "Authorization: Bearer $BUNNYLYNK_API_KEY"

Create Destination

POST /v1/destinations

curl -X POST https://api.bunnylynk.com/v1/destinations \
  -H "Authorization: Bearer $BUNNYLYNK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Order API",
    "url": "https://api.mycompany.com/orders",
    "rate_limit_per_second": 20
  }'

Connections

Create Connection

POST /v1/connections

curl -X POST https://api.bunnylynk.com/v1/connections \
  -H "Authorization: Bearer $BUNNYLYNK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source_id": "src_01JM89K2PQR",
    "destination_id": "dst_01JMVWXYZ",
    "rules": {
      "retry_policy": "exponential",
      "max_retries": 10
    }
  }'

Events & Replay

List Events

GET /v1/events

Query parameters:

  • source_id: Filter events by source.
  • status: Filter by status (accepted, success, retrying, failed).
  • limit: Number of items (default: 50, max: 250).
curl -X GET "https://api.bunnylynk.com/v1/events?status=failed&limit=10" \
  -H "Authorization: Bearer $BUNNYLYNK_API_KEY"

Replay Event

POST /v1/events/:id/replay

curl -X POST https://api.bunnylynk.com/v1/events/evt_01JMWP3KV9QZ/replay \
  -H "Authorization: Bearer $BUNNYLYNK_API_KEY"

Next: Review Ingestion Gateway Reference.