const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/web-integrations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"agentId": "<string>",
"name": "<string>",
"enabled": true,
"features": [
{
"name": "AllowWebCall",
"enabled": true
}
],
"widgetAppearance": {
"theme": "<string>",
"position": "<string>",
"colors": {},
"customStyles": {}
},
"integrationId": "<string>",
"orgId": "<string>",
"createdTime": "2023-11-07T05:31:56Z",
"lastUpdateTime": "2023-11-07T05:31:56Z",
"tokens": [
{
"tokenId": "<string>",
"name": "<string>",
"token": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"lastUsedAt": "2023-11-07T05:31:56Z"
}
],
"description": "<string>",
"origins": [
"<string>"
],
"tools": [
"<string>"
]
}
]const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/web-integrations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"agentId": "<string>",
"name": "<string>",
"enabled": true,
"features": [
{
"name": "AllowWebCall",
"enabled": true
}
],
"widgetAppearance": {
"theme": "<string>",
"position": "<string>",
"colors": {},
"customStyles": {}
},
"integrationId": "<string>",
"orgId": "<string>",
"createdTime": "2023-11-07T05:31:56Z",
"lastUpdateTime": "2023-11-07T05:31:56Z",
"tokens": [
{
"tokenId": "<string>",
"name": "<string>",
"token": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"lastUsedAt": "2023-11-07T05:31:56Z"
}
],
"description": "<string>",
"origins": [
"<string>"
],
"tools": [
"<string>"
]
}
]Returns the list of web integrations
11 - 100Show child attributes
Show child attributes
11Show child attributes
500Was this page helpful?