Skip to main content
POST
/
api
/
core
/
quick_actions
Create quick action and attach to use case
curl --request POST \
  --url https://api.example.com/api/core/quick_actions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "use_case_id": "<string>",
  "quick_action": {
    "id": "<string>",
    "label": {
      "de": "<string>",
      "en": "<string>"
    },
    "prompt_task": "<string>",
    "prompt_output_format": "<string>",
    "prompt_example_section": "<string>",
    "icon": "fa-solid fa-bolt"
  }
}
'
{
  "quick_action": {
    "id": "<string>",
    "label": {
      "de": "<string>",
      "en": "<string>"
    },
    "prompt_task": "<string>",
    "prompt_output_format": "<string>",
    "prompt_example_section": "<string>",
    "icon": "fa-solid fa-bolt"
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer '

Body

application/json
use_case_id
string
required
quick_action
QuickAction · object
required

Response

Successful Response

Response schema for create/update quick action endpoints.

quick_action
QuickAction · object
required