GOTRS API Reference
RESTful API documentation for integrating with GOTRS.
Overview
The GOTRS API provides programmatic access to all ticketing system functionality.
Base URL
https://your-gotrs-instance.com/api/v1
Authentication
Authorization: Bearer YOUR_JWT_TOKEN
Response Format
{
"success": true,
"data": {...},
"error": null
}
Endpoints
Authentication
POST /auth/login
- Authenticate userPOST /auth/logout
- Invalidate sessionPOST /auth/refresh
- Refresh JWT token
Tickets
GET /tickets
- List ticketsPOST /tickets
- Create ticketGET /tickets/{id}
- Get ticket detailsPUT /tickets/{id}
- Update ticketDELETE /tickets/{id}
- Delete ticket
Users
GET /users
- List usersPOST /users
- Create userGET /users/{id}
- Get user detailsPUT /users/{id}
- Update userDELETE /users/{id}
- Delete user
Attachments
POST /tickets/{id}/attachments
- Upload attachmentGET /attachments/{id}
- Download attachmentDELETE /attachments/{id}
- Delete attachment
Status Codes
200
- Success201
- Created400
- Bad Request401
- Unauthorized403
- Forbidden404
- Not Found500
- Internal Server Error
Rate Limiting
- 1000 requests per hour per API key
- Rate limit headers included in responses
- 429 status code when limit exceeded
SDKs and Libraries
Coming soon:
- JavaScript/TypeScript SDK
- Python SDK
- Go SDK
- curl examples
API documentation is being developed alongside the core system. Check back for updates.