Skip to main content
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 a state, 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

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.
If you want each vendor to have one address for everything, turn on the centralized supplier portal. Every request keeps its own url, and the vendor also gets a single page listing all of them.

List portals

GET
GET /v1/portals
Lists requests in the API key’s org, newest first. Without filters it returns every request addressed to a vendor, paginated.

Query parameters

string
Only requests sent to this vendor (cbvndr_...). Resolve the id first with GET /v1/vendors by external_id or name.
string
Only requests in this state: open, overdue, submitted, or closed.
string
Only requests of this type.
integer
default:"50"
Page size, 1-200.
integer
default:"0"
Rows to skip.

Example request

cURL

Example response

Rows are ordered by created_at descending, with ties broken by id, so paging with offset never repeats or skips a row.

Portal object

string
Portal ID (cbsbpt_...).
string | null
A short reference the vendor also sees, such as WF-855. Set once the centralized supplier portal is on; null otherwise.
string
string
open, overdue, submitted, or closed. See States.
string
The stored status: open, analyzing, analysis_complete, submitted, or closed. Use state unless you need to tell the three open statuses apart.
string
The link the vendor uses to respond. On a branded portal domain, the link uses that domain.
string | null
The request’s title as the vendor sees it.
string
The vendor the request was sent to (cbvndr_...).
string | null
The assessment this request collects for (cbassm_...), for assessment requests.
integer | null
Unix timestamp (seconds) the response is due, or null when no due date was set.
boolean
true while you have put the request on hold. A paused request reads open, never overdue, and no reminders go out.
integer | null
Unix timestamp (seconds) of the vendor’s first submission, or null.
integer
Unix timestamp (seconds).
integer
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.
integer
How many of those forms the recipient has completed. A form resubmitted after a reopen counts once.
integer | null
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.
The three progress fields are the same progress the Coverbase app shows on the request. For how many questions the recipient has answered, across the whole request or per questionnaire, read questions_percent_complete from Questionnaire progress on a portal.

Retrieve a portal

GET
GET /v1/portals/{portal_id}
Returns the portal object, or 404 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

GET
GET /v1/portals/{portal_id}/questionnaires
Returns one row per questionnaire on the request, with how many of its questions the recipient has answered, and questions_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

string
required
The portal (cbsbpt_...). Same 404 portal_not_found rules as Retrieve a portal.

Example request

cURL

Example response

Rows follow the order the request asks for its questionnaires.

Response fields

string
The portal the rows belong to.
array
One row per questionnaire on the request. See Questionnaire progress row.
integer
How many questionnaires the request asks for.
integer
How many of them the recipient has submitted: the row’s status is submitted, ready_for_review, or approved.
integer | null
questionnaires_completed as a whole-number share of questionnaires_total, rounded down. null for a request with no questionnaires.
integer
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.
integer
How many of those questions have an answer.
integer | null
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

string
The questionnaire template (cbqst_...).
string | null
The questionnaire’s name as the recipient sees it.
string | null
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.
string | null
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.
integer
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.
integer
How many of those questions have an answer. See What counts as answered.
integer
How many of the questions are required.
integer
How many required questions have an answer.
integer | null
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.
integer | null
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 reads 0 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.
Poll on a schedule that suits you; the list is cheap. To react to a change as it happens instead, subscribe to Assessment.* events with webhooks.