Related guides
Endpoints
Next steps
- API overview: base URLs, authentication, and pagination
- Errors: status codes and the error format
- Editions: which endpoints each edition serves
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Read the current organization and invite, list, cancel, and accept invitations with the OneCLI API. Free on every edition.
| Endpoint | Method and path | What it does |
|---|---|---|
| Get the current organization | GET /org | Get the organization your API key or session belongs to. |
| List pending invitations | GET /org/invitations | List pending invitations in your organization. |
| Invite someone | POST /org/invitations | Invite someone to your organization by email. |
| Cancel an invitation | DELETE /org/invitations/{id} | Cancel a pending invitation so its link stops working. |
| Accept an invitation | POST /invitations/accept | Accept an organization invitation for the signed-in person by redeeming its token. |