Multitenant Polls API
Easily integrate multi-tenant polls and voting into your apps. Create polls, add votes, fetch results, and manage them securely with tenant isolation.
Multitenant Polls API endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
Create Poll /api/polls |
Create a new poll |
| GET |
Get Poll by Id /api/polls/{id} |
Retrieve a poll by its ID |
| GET |
Get All Polls /api/polls |
Retrieve all polls for the authenticated tenant |
| GET |
Get All Polls with Identifier /api/polls/identifier/{identifier} |
Retrieve all polls with a specific identifier |
| DELETE |
Remove Poll /api/polls/{id} |
Delete a poll by its ID |
| POST |
Add Vote /api/votes |
Add a vote to a poll |
| GET |
Get Vote by Id /api/votes/{id} |
Retrieve a vote by its ID |
| GET |
Get All Votes on Poll /api/votes/poll/{poll_id} |
Retrieve all votes on a specific poll |
| GET |
Get All Votes by Identifier /api/votes/identifier/{identifier} |
Retrieve all votes with a specific identifier |
| GET |
Delete Vote /api/votes/{id} |
Delete a vote by its ID |