Sources API
Base path: /api/sources
List sources
Section titled “List sources”GET /api/sourcesReturns all sources.
Create source
Section titled “Create source”POST /api/sourcesContent-Type: application/json
{ "name": "My App", "slug": "my-app"}| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name |
slug | string | Yes | URL-safe identifier, used in webhook URL |
Get source
Section titled “Get source”GET /api/sources/{slug}Update source
Section titled “Update source”PATCH /api/sources/{slug}Content-Type: application/json
{ "name": "Updated Name"}Delete source
Section titled “Delete source”DELETE /api/sources/{slug}