curl -X POST "https://api.hitler.app/api/flags/inquiries" \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "topic": "Question about remote work policy" }'
{ "id": "inquiry-uuid-123", "topic": "Question about remote work policy", "status": "open", "flagId": null, "userId": "user-uuid", "organizationId": "org-uuid", "createdAt": "2024-01-15T10:00:00.000Z" }
Create a private inquiry thread
open
closed
{ "id": "message-uuid", "content": "Your message here", "senderId": "user-uuid", "senderType": "user", "createdAt": "2024-01-15T10:05:00.000Z" }
{ "id": "inquiry-uuid-123", "status": "closed", "closedAt": "2024-01-15T12:00:00.000Z" }