API examples
Each example solves one task with plain curl calls; where the SDK has a method, a second tab shows the same call in TypeScript. The curl examples use the OMTK_ORIGIN and OMTK_API_KEY variables from API basics; the SDK examples use a client as in SDK basics. Replace placeholder IDs with the IDs returned by earlier calls.
| Task | Example |
|---|---|
| Prepare an event | Create an event · Create groups and roles |
| Add people | Synchronize external members · Use the API from Discord · Create an access link |
| Hand out setups | Read a participant's profile · Download participant files |
| Radios and maps | Configure Meshtastic · Work with Data Packages |