cURL
curl --request POST \ --url https://api.example.com/widgets/commands/add \ --header 'Content-Type: application/json' \ --data ' { "type": "<string>", "sortOrder": 123, "name": "<string>" } '
{ "id": "<string>", "type": "<string>", "sortOrder": 123, "name": "<string>", "ownerId": "<string>", "config": {}, "enabled": true, "deleted": true }
Creates a new widget
Documentation IndexFetch the complete documentation index at: https://opendonationassistant.mintlify.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://opendonationassistant.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Widget created successfully
Show child attributes
Was this page helpful?