List certificates
/workspaces/{workspace}/certificatesReturns every certificate in the workspace, sorted by name, expired ones included. A trust center never hides a lapsed certificate.
Authentication
Send an API token as a bearer token. This endpoint needs a read token, made by any member of the workspace. Create one in My account → API tokens; see scopes and roles.
Authorization: Bearer 42|bynh_pat_•••••••HeaderPath parameters
workspacestringRequiredYour workspace slug, e.g. dokan.
Query parameters
qstringSearches name, issuer and description (contains, case follows the database). Trimmed and cut to 100 characters; % and _ are matched literally.
Response
200 OKArray of certificates without documents. Not paginated.
idintegerCertificate id.namestringThe standard, e.g. ISO/IEC 27001:2022.descriptionstring|nullShort line under the name.issuerstringWho issued it.certificate_numberstring|nullThe number on the certificate.statusenumDerived from valid_until on every save: expired after the date, renewing within 30 days of it, otherwise valid. in_audit is the only status you set (with in_audit: true). One ofvalid,renewing,in_audit,expired.issued_onstring|nullYYYY-MM-DD.valid_untilstring|nullYYYY-MM-DD.days_leftinteger|nullDays from today to valid_until; negative once expired.scopestring|nullScope statement.notestring|nullShort note.show_badgebooleanShow a badge on the trust center.allow_downloadbooleanLet visitors download the certificate.share_soa_after_ndabooleanShare the Statement of Applicability after an NDA.publishedbooleanShown on the trust center.
Rate limits
This endpoint counts toward your general limit of 120 requests a minute. When you go over, wait for the number of seconds in Retry-After.
Errors
Every error is JSON with a message. See Errors.