Show a pending signing request created here that is awaiting its signed certificate.

GET /organizations/{organizationId}/signing-requests/{signingRequestId}

GET https://zanpki.com/organizations/{organizationId}/signing-requests/{signingRequestId}

Operation ID organizations.organizationId.signing-requests.signingRequestId.get
Access Browser session signed in through ZanAuth, using the access token cookie alongside its ID token and refresh token cookies. Or: An access token issued for this site by its ZanAuth issuer, or a static key.

Parameters

NameInTypeDescription
organizationId Path Required string (snowflake) Organization ID.
signingRequestId Path Required string (snowflake) Signing request ID.

Responses

StatusDescriptionSchemaContent type
200 Show a pending signing request created here that is awaiting its signed certificate. SigningRequestPage application/json, text/html, text/markdown
403 Your roles do not permit this action. Problem application/json, text/html, text/markdown
422 The request input was rejected. The errors object lists each validation failure. ValidationProblem application/json, text/html, text/markdown
Any other status The request was rejected. The problem type identifies the error, and the detail field provides a human-readable explanation. Problem application/json, text/html, text/markdown

200 Show a pending signing request created here that is awaiting its signed certificate.

PropertyTypeDescription
pki_organizations_id string (snowflake) Required The organization's ID.
pki_organizations_name string Required Name of the organization (a customer, product, or team that owns authorities, certificates, and machines), up to 100 characters.
pki_agencies_id string (snowflake) Required The agency ID, or for an organization, the ID of its parent agency.
pki_agencies_name string Required Name of your company or agency (up to 100 characters) that owns its organizations.
signing_requests_id string (snowflake) Required The signing request's ID.
signing_requests_name string Required Display name for the signing request in ZanPKI (up to 100 characters).
signing_requests_common_name string Required The subject common name (CN), such as a hostname.
country string, or null Required Two-letter ISO country code, such as US.
state string, or null Required The subject's state or province, up to 64 characters; empty for none.
city string, or null Required The subject's city or locality, up to 64 characters; empty for none.
organization string, or null Required Company or organization name in the certificate subject (up to 64 characters), or empty if none.
unit string, or null Required A department or team within the subject's organization, up to 64 characters; empty for none.
email string, or null Required Email address in the certificate subject, or empty if none. Must be permitted by the signing authority and its issuer chain.
signing_requests_profile one of: 1, 2, 3, 4 Required Requested certificate profile: 1 for TLS server (website, service, or VPN), 2 for mTLS client (service), 3 for VPN user (client authentication), or 4 for TLS server and client (both directions). The CSR requests these key purposes, though the signing authority makes the final decision.
profile_label string Required Display label for the requested certificate profile: TLS server (website, service, or VPN), mTLS client (service), VPN user (client authentication), or TLS server and client (both directions).
signing_requests_profile_id string (snowflake), or null Required ID of the organization's custom profile derived from the base profile, or null if using a built-in ZanPKI profile or if the custom profile was deleted.
certificate_profiles_name string, or null Required Profile name (1 to 100 characters), shown in certificate issuance forms.
sans list of string Required Subject alternative names requested in the CSR, formatted in OpenSSL notation (such as DNS:example.com or IP:10.0.0.1), or an empty list if none.
signing_requests_key_type one of: 1, 2, 3, 4, 5, 6, 7, 8, 9 Required Key algorithm and size. RSA 4096 is the default, because every browser and almost all software accept it. ML-DSA-87 is the strongest level of ML-DSA, the post-quantum signature standard. In our tests, Chrome accepted ML-DSA certificates, but Safari and Java refused them, and Firefox hasn't been tested, so use ML-DSA only where you control the software that checks the certificate. Choose an elliptic curve only for clients that need one. Chrome doesn't accept an EC P-521 website certificate.
key_type_label string Required Display label for the key type: RSA 2048, RSA 3072, RSA 4096, EC P-256, EC P-384, EC P-521, ML-DSA-44, ML-DSA-65, or ML-DSA-87.
signing_requests_created_at integer (int64) Required When the signing request was created, in seconds since the Unix epoch.
signing_request string Required PEM-encoded certificate signing request (CSR) to submit to an external authority for signing.
may_import boolean Required Whether the caller can import the signed certificate returned by an external authority (requires certificates:issue).
may_delete boolean Required Whether the caller can delete this signing request (requires certificates:issue).

403 Your roles do not permit this action.

PropertyTypeDescription
type string Required A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Required The HTTP status as text, such as Not Found.
status integer (int32) Required The HTTP status code of the response.
detail string Required A human-readable explanation of what went wrong.
instance string Required The path the request was sent to.

422 The request input was rejected. The errors object lists each validation failure.

PropertyTypeDescription
type string Required A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Required The HTTP status as text, such as Not Found.
status integer (int32) Required The HTTP status code of the response.
detail string Required A human-readable explanation of what went wrong.
instance string Required The path the request was sent to.
errors InputErrors Required Validation errors for each rejected value. Parameter errors are returned as a list, and body errors as a tree matching the request body structure.

Any other status: The request was rejected. The problem type identifies the error, and the detail field provides a human-readable explanation.

PropertyTypeDescription
type string Required A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Required The HTTP status as text, such as Not Found.
status integer (int32) Required The HTTP status code of the response.
detail string Required A human-readable explanation of what went wrong.
instance string Required The path the request was sent to.

Example

curl -X GET 'https://zanpki.com/organizations/{organizationId}/signing-requests/{signingRequestId}' \
  -H 'Authorization: Bearer <access token>'

All documentation