cURL
curl --request POST \ --url http://localhost:8080/api/workspaces/{id}/questions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "content": "<string>", "task_id": "<string>", "context": "<string>", "options": [ "<string>" ], "priority": 3 } '
{ "id": "<string>", "workspace_id": "<string>", "task_id": "<string>", "task_title": "<string>", "content": "<string>", "context": "<string>", "options": [ "<string>" ], "answer": "<string>", "status": "<string>", "priority": 123, "created_at": "<string>", "answered_at": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
4
Successful Response