Skip to main content
POST
/
v1
/
questions
Ask a question
curl --request POST \
  --url https://api.fortressproductivity.com/v1/questions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "question": "<string>"
}
'
{
  "question": {
    "id": "<string>",
    "workspace_id": "<string>",
    "created_by_actor_id": "<string>",
    "assigned_actor_id": "<string>",
    "updated_by_actor_id": "<string>",
    "agent_id": "<string>",
    "action_id": "<string>",
    "project_id": "<string>",
    "order_id": "<string>",
    "question": "<string>",
    "choices": [
      "<string>"
    ],
    "on_answer": "<string>",
    "response": "<string>",
    "responded_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.fortressproductivity.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Agent bearer token using the ft_... token format.

Body

application/json
question
string
required
Minimum string length: 1
action_id
string
Minimum string length: 1
project_id
string
Minimum string length: 1
order_id
string
Minimum string length: 1
choices
string[]
Minimum array length: 2
Minimum string length: 1
on_answer
string
Minimum string length: 1

Response

Created question

question
object
required