POST
/
workspaces
/
{workspace_id}
/
addons
Create addon
curl --request POST \
  --url https://s-server-demo.siftd.ai:9800/api/workspaces/{workspace_id}/addons \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "addon_id": "<string>",
  "code": "<string>",
  "cxn_fields": {},
  "cxn_scheme": "",
  "description": "<string>",
  "name": "<string>",
  "requirements": "<string>",
  "tools": {}
}'
{
  "addon_id": "<string>",
  "code": "<string>",
  "cxn_fields": {},
  "cxn_scheme": "",
  "description": "<string>",
  "name": "<string>",
  "requirements": "<string>",
  "tools": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required

Workspace ID

Query Parameters

org_id
string
required

Organization ID

validate
string
default:false

Validate the addon code only, do not create the addon

Body

application/json

Addon object

The body is of type object.

Response

201 - */*

Created

The response is of type object.