Base URL: https://app.dmatic.in/api/v1
| Method | Path | Scope | What |
|---|---|---|---|
| GET | /me | read | Key and account info |
| GET | /tenants | read | Agency keys: list clients |
| GET | /events | read | List webhook event types |
| GET | /leads | read | List leads (limit, starting_after, since, source) |
| GET | /leads/:id | read | One lead |
| GET | /flows | read | List flows |
| POST | /flows/:id/enroll | write | Enroll a person in a flow |
| POST | /messages | write | Send a DM |
| GET | /store/orders | read | List orders (status) |
| GET/POST/DELETE | /webhooks | read/write | Subscribe and unsubscribe (REST hooks) |
Lists use cursor pagination: pass the last id as starting_after; the response has has_more.