Connectors

Create a Box Connector

POST
/app/connectors/box
x-api-key<token>

Authenticate using API Key in request header

In: header

Request Body

application/json

type*string

The connector type.

Value in"box"
name*string

Human-friendly name for this connector.

workflowID?string

One of workflowID or workflowName must be provided.

If both are provided, they must refer to the same workflow.

workflowName?string

One of workflowID or workflowName must be provided.

If both are provided, they must refer to the same workflow.

boxClientID*string

Box client ID (from your Box application).

boxClientSecret*string

Box client secret (from your Box application).

boxEnterpriseID*string

Box enterprise ID.

boxFolderID*string

Box folder ID to watch for new uploads.

Response Body

application/json

curl -X POST "https://api.bem.ai/app/connectors/box" \  -H "Content-Type: application/json" \  -d '{    "name": "Box → Invoice workflow",    "workflowID": "wf_2N6gH8ZKCmvb6BnFcGqhKJ98VzP",    "boxClientID": "YOUR_BOX_CLIENT_ID",    "boxClientSecret": "YOUR_BOX_CLIENT_SECRET",    "boxEnterpriseID": "YOUR_BOX_ENTERPRISE_ID",    "boxFolderID": "YOUR_BOX_FOLDER_ID",    "type": "box"  }'
{
  "type": "box",
  "connectorID": "string",
  "name": "string",
  "workflowID": "string",
  "workflowName": "string",
  "boxClientID": "string",
  "boxClientSecret": "string",
  "boxEnterpriseID": "string",
  "boxFolderID": "string"
}