GET
/v1/suggestion-sharingReturns whether this company’s confirmed mappings may be used to improve suggestions for other customers. Consent is set per company. If nobody has answered, sharing is off and version is null. Any credential may read it.
Response
A 200 answer carries these fields.
- sharedbooleanRequired
- versioninteger or nullRequired
- createdAtstring (date-time) or nullRequired
- createdBystring (uuid) or nullRequired
The signed-in person who answered.
Status codes
| Status | Meaning |
|---|---|
200 |
The current answer, or the default if nobody has answered. |
401 |
No usable credential was sent (invalid_credentials). |
GET
/v1/suggestion-sharingExample
curl https://api.certinvo.com/v1/suggestion-sharing \
-H "Authorization: Bearer $CERTINVO_API_KEY"const response = await fetch(`https://api.certinvo.com/v1/suggestion-sharing`, {
headers: {
Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
},
})
console.log(response.status, await response.json())import os
import requests
response = requests.get(
"https://api.certinvo.com/v1/suggestion-sharing",
headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)200
application/json
{
"shared": true,
"version": 0,
"createdAt": "2026-09-17T09:30:00Z",
"createdBy": "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a"
}Success response