For AI agents: a documentation index is available at https://docs.coverbase.com/llms.txt. This page is also available in markdown by appending .md to the URL.
A portal (cbsbpt_...) is one request sent to a vendor: an assessment’s document collection and its follow-ups, a questionnaire, a findings and commitments request, an RFP, a case follow-up, or onboarding. Each request has its own link. These endpoints list the requests so your own systems can show a vendor everything still waiting on them, or sync request status into a partner portal, a CRM, or a ticketing tool.
The endpoints return only requests addressed to a vendor. Org-level portals (intake, vendor search), signing portals, and obligation commitments sent to your own stakeholders are never returned.
All endpoints are org-scoped to the credential: an ak_* key or an OAuth token, and need permission to read portals. See API conventions for shared behavior.
States
Each request carries astate, derived from its status, its due date, and whether you have paused it:
open and overdue are the two states that need the vendor’s attention.
Request types
The link is not a credential
url is the same link the invitation email carries. Opening it still asks the recipient to sign in with an email address the request allows, so the link identifies the request; it does not grant access to it. Share it with the people you invited and it works the way the email did.
List portals
Lists requests in the API key’s org, newest first. Without filters it returns every request addressed to a vendor, paginated.Query parameters
Only requests sent to this vendor (
cbvndr_...). Resolve the id first with GET /v1/vendors by external_id or name.Only requests of this type.
Example request
cURL
Example response
created_at descending, with ties broken by id, so paging with offset never repeats or skips a row.
Portal object
A short reference the vendor also sees, such as
WF-855. Set once the centralized supplier portal is on; null otherwise.The request type.
The stored status:
open, analyzing, analysis_complete, submitted, or closed. Use state unless you need to tell the three open statuses apart.true while you have put the request on hold. A paused request reads open, never overdue, and no reminders go out.How many forms the request asks for: each questionnaire, document upload, or other section the recipient sees. A form you have withdrawn from the request is not counted.
How many of those forms the recipient has completed. A form resubmitted after a reopen counts once.
forms_completed as a whole-number share of forms_total, rounded down (1 of 3 is 33). null for a request with no forms. A form counts only once it is submitted, so a request with two forms reads 0, 50, or 100.questions_percent_complete from Questionnaire progress on a portal.
Retrieve a portal
Returns the portal object, or404 portal_not_found. A portal that the list would not return (one with no vendor, or of a type outside the request types) is also a 404.
Error responses
Questionnaire progress on a portal
Returns one row per questionnaire on the request, with how many of its questions the recipient has answered, andquestions_percent_complete for the request as a whole. Use it when the portal’s percent_complete is too coarse: a request with one questionnaire reads 0 until the recipient submits, while this endpoint shows the questionnaire filling in question by question.
Path parameters
The portal (
cbsbpt_...). Same 404 portal_not_found rules as Retrieve a portal.Example request
cURL
Example response
Response fields
One row per questionnaire on the request. See Questionnaire progress row.
How many of them the recipient has submitted: the row’s
status is submitted, ready_for_review, or approved.questionnaires_completed as a whole-number share of questionnaires_total, rounded down. null for a request with no questionnaires.The questions progress is measured against, across every questionnaire on the request. Each questionnaire adds its required questions, or all of its questions when none is required. This is the same set each row’s
percent_complete counts.counted_questions_answered as a whole-number share of counted_questions_total, rounded down (32 of 37 is 86). This is how far the recipient has got on the whole request. null when there is nothing to count.Questionnaire progress row
The recipient’s response (
cbqstr_...), or null until they have opened the questionnaire. Pass it to GET /v1/questionnaires/{questionnaire_id}/responses/{response_id} for the answers themselves.The response’s status:
pending, processing, processing_complete, processing_failed, submitted, ready_for_review, approved, or rejected. null until the recipient has opened the questionnaire.Questions the recipient sees. Internal-only questions, and questions a show rule currently hides, are left out. A questionnaire derived from a control set counts its controls’ questions.
0 until the recipient has opened the questionnaire.How many of those questions have an answer. See What counts as answered.
required_answered as a whole-number share of required_total, rounded down (20 of 25 is 80). When no question is required it is questions_answered over questions_total instead. null when there is nothing to count: the recipient has not opened the questionnaire, or it has no questions.Unix timestamp (seconds) the response last changed, or
null for a questionnaire the recipient has not opened.What counts as answered
A question is answered by the same rule the recipient’s Submit button uses: it has a text or numeric value, a selected option, or an attached document where the question requires one. A comment alone does not count unless the question requires a comment. Only questions the recipient can currently see are counted, the same as the progress bar on their side. A question a show rule hides is left out until an answer reveals it. Because of this, a count can go down: answering a question can reveal more required questions. If you archive the control set behind a questionnaire while a request is still open, that questionnaire’s row reads0 counts and null percent. The other rows and the request totals still answer.
Error responses
Show a vendor their open requests
The common integration: a partner or vendor portal of your own that lists everything Coverbase is waiting on from one vendor.1
Resolve the vendor
GET /v1/vendors?external_id=<your id> returns the Coverbase vendor_id for the identifier your system holds. Match by name if you have not set external_id on your vendors yet.2
Fetch what is waiting
GET /v1/portals?vendor_id=<vendor_id>&state=open, then the same call with state=overdue. Or fetch without state and group rows by it, which also gives you the submitted and closed history.3
Show the link
Render each row’s
display_name, due_at, and url. Mark overdue rows and paused rows so the reader knows which ones need action now.4
Show how far each request has got
For each open or overdue row, call
GET /v1/portals/{portal_id}/questionnaires and read questions_percent_complete. A low number close to due_at is the request to follow up on.Assessment.* events with webhooks.
Related
- Vendors API: resolve a vendor by
external_idor name. - Assessments API: the assessment an
assessmentrequest collects for. - Centralized supplier portal: one sign-in page per vendor that lists every request.
- API conventions: pagination, timestamps, and the error envelope.