curl --request PUT \
--url https://app.msportal.ai/api/public/v1/dashboards/external/{id}/company-urls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"companyUrls": [
{
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
}
]
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"url": "<string>",
"iconUrl": "<string>",
"displayOrder": 123,
"isActive": true,
"isDefault": true,
"allowInIframe": true,
"framePolicy": "<string>",
"roleIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"roleNames": [
"<string>"
],
"companyUrls": [
{
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyName": "<string>",
"url": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Set company-specific URL overrides for an external dashboard. This replaces all existing company URL assignments with the provided list. All URLs must use HTTPS. Companies must exist and belong to your tenant.
curl --request PUT \
--url https://app.msportal.ai/api/public/v1/dashboards/external/{id}/company-urls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"companyUrls": [
{
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
}
]
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"url": "<string>",
"iconUrl": "<string>",
"displayOrder": 123,
"isActive": true,
"isDefault": true,
"allowInIframe": true,
"framePolicy": "<string>",
"roleIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"roleNames": [
"<string>"
],
"companyUrls": [
{
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyName": "<string>",
"url": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Use your API key as a Bearer token. API keys can be generated in Settings → Integrations → API Access.
External dashboard ID
Company URL assignments
Show child attributes
Company URLs updated
Show child attributes