API Reference
The Tewdy API is organized around REST principles. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
Base URL
All API requests should be made to:
https://api.tewdy.com/v1Authentication
The Tewdy API uses API keys to authenticate requests. You can view and manage your API keys in the Dashboard.
curl https://api.tewdy.com/v1/users \
-H "Authorization: Bearer YOUR_API_KEY"Endpoints
Users
GET /users- List all usersGET /users/:id- Get a specific userPOST /users- Create a new userPUT /users/:id- Update a userDELETE /users/:id- Delete a user
Projects
GET /projects- List all projectsGET /projects/:id- Get a specific projectPOST /projects- Create a new projectPUT /projects/:id- Update a projectDELETE /projects/:id- Delete a project
Rate Limiting
API requests are rate-limited to 1000 requests per hour per API key.
Errors
The API uses standard HTTP response codes to indicate success or failure:
200- Success400- Bad Request401- Unauthorized404- Not Found500- Server Error