Reorder custom links
curl --request POST \
--url https://api.trycomp.ai/v1/trust-portal/custom-links/reorder \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"organizationId": "org_6914cd0e16e4c7dccbb54426",
"linkIds": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({organizationId: 'org_6914cd0e16e4c7dccbb54426', linkIds: ['<string>']})
};
fetch('https://api.trycomp.ai/v1/trust-portal/custom-links/reorder', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-portal/custom-links/reorder"
payload = {
"organizationId": "org_6914cd0e16e4c7dccbb54426",
"linkIds": ["<string>"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Trust Portal
Reorder custom links | Comp AI API
Reorder custom links in Comp AI. Configure the live Trust Center, custom domain, public overview, FAQs, compliance resources, documents, links, and vendor.
POST
/
v1
/
trust-portal
/
custom-links
/
reorder
Reorder custom links
curl --request POST \
--url https://api.trycomp.ai/v1/trust-portal/custom-links/reorder \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"organizationId": "org_6914cd0e16e4c7dccbb54426",
"linkIds": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({organizationId: 'org_6914cd0e16e4c7dccbb54426', linkIds: ['<string>']})
};
fetch('https://api.trycomp.ai/v1/trust-portal/custom-links/reorder', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-portal/custom-links/reorder"
payload = {
"organizationId": "org_6914cd0e16e4c7dccbb54426",
"linkIds": ["<string>"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Authorizations
API key for authentication
Body
application/json
Response
200
Custom links reordered successfully
Was this page helpful?

