CodeSign Secure Documentation
  • Overview
    • About CodeSign Secure
    • Getting Started
    • Documentation Guide
    • Portal Overview
    • Troubleshooting
      • FAQ
    • Glossary
  • Reference Guide
    • Header Bar
      • CodeSign Secure Documentation
      • Swagger API
      • Profile Section
    • Dashboard
      • Key Performance Indicators
      • Issued Certificates
      • Signatures Generated
      • HSM Health Check
    • Keys and Certificates
      • Key and Certificate Lifecycle
    • App Management
    • Signing Requests
      • Approval Workflows
    • Signing Tools
    • Reports
      • Signing Request Report
      • Audit Trail
      • Certificate Report
      • Client Report
    • Logs
    • System Setup
      • Identity Store
      • Backup
      • User
      • Roles and Permissions
      • Email
      • Signing Projects
      • SSL/TLS Management
      • Environment
      • Plugins
  • Setup & Architecture
    • Identity and Access Control
    • Architecture and Concepts
    • Installation
      • Windows
        • Installing the Server
        • Ports and Protocols
        • High Availability and Backup
        • Upgrades and Compatibility
    • Security
      • Security Hardening Checklist
      • Client Authentication
      • Designing Signing Policies
  • Release Notes
    • Releases for 2026
      • v3.2.1
    • Releases for 2025
      • v3.2.0
    • Releases for 2024
      • v3.1.0
  • API Reference
    • Getting Started
    • Authorizing Requests
    • Securing API Access
    • Request and Response Conventions
    • Endpoint Reference
      • Signing
      • Signing Requests
      • Certificates
      • Applications and Environments
      • User Management
      • Permissions
      • Email
      • System Setup
      • Reports
      • Dashboard
      • License
  • Integration Guides
    • Signing Capabilities
      • Supported Formats and Platforms
      • Timestamping
      • Windows Signing - SignTool
        • Signing
        • Macro Signing
      • Apple Signing
      • AppX & MSIX Signing
      • Visual Studio ClickOnce
      • Jar Signing
      • Sign HLK/HCK using CodeSign Secure
      • NuGet Signing
      • Mage Signing
      • Sign OVA/OVF using Encryption Consulting’s Utility Tool
      • Utility Tool for code signing
      • Container Signing
      • PKCS11 Wrapper
        • APK Signing
        • OpenSSL Signing
        • XML Signing
        • JSign Tool Signing
        • Jarsigner Signing
        • GPG2, Debian & RPM Signing
      • Reproducible Build
        • Automated Hash Validation
        • Reproducible Build Process Flow
        • Pipeline Script Components
        • Hash Validation
    • CI/CD Integration
      • GitHub Actions
      • Jenkins
      • GitLab
      • Azure DevOps
      • TeamCity
      • Bamboo
      • Securing CI/CD Credentials

Request and Response Conventions

The conventions on this page apply to all CodeSign Secure API endpoints unless an endpoint states otherwise.

Base URL

All endpoint paths in this reference are relative to https://<your domain>/api/. CodeSign Secure uses HTTPS port 443 by default. If your server uses another HTTPS port, include it, for example https://<your domain>:8443/api/.

Request Headers
HeaderValueDescription
AuthorizationBearer <token>Token of the caller. Required for all endpoints. Refer to Authorizing Requests.
Content-Typeapplication/jsonRequired for requests that send a JSON body.
Content-Typemultipart/form-dataUsed by the endpoints that upload files or send form data: POST /signing/v1/code-submission/, POST /system_setup/import_tls/. curl sets it for you when you use -F.
Request Parameters

Endpoints receive their input in one of the following ways. The endpoint pages list the parameters and where each is located.

Located InDescription
PathPart of the endpoint path, for example {certificateName} in /certificate_manage/certificateDetailsByName/{certificateName}/.
QueryAppended to the URL, for example /reports/certificate_report?from_date=2026-01-01&to_date=2026-01-31. Array values are comma-separated, for example environment_id=1,2. URL-encode values that contain spaces or special characters.
Body (JSON)A JSON object sent with POST, PUT, or PATCH requests.
Form dataFields sent as multipart/form-data, used for file uploads.
Filtering

Several list endpoints accept a filters query parameter: a JSON array of {"field": .., "operator": .., "value": ..} objects, all of which must match. The fields and operators each endpoint accepts are listed under its filters parameter. URL-encode the value, for example:

curl -G "https://<your domain>/api/certificate_manage/certificates" \
  -H "Authorization: Bearer <token>" \
  --data-urlencode 'filters=[{"field": "<field>", "operator": "<operator>", "value": "<value>"}]'

Endpoints that accept filters: GET /certificate_manage/certificates, GET /project_manage/basic/, GET /reports/certificate_report, GET /reports/daily-log, GET /reports/daily-log/export, GET /reports/log_report, GET /reports/signing_report, GET /signing_request/signing_request_approval/{approvalUser_id}/.

Pagination

Endpoints that return long lists accept page and count query parameters. page: 1-based page number. Defaults to 1. count: Records per page. Defaults to 10. For example:

curl -X GET "https://<your domain>/api/certificate_manage/certificates?page=1&count=50" \
  -H "Authorization: Bearer <token>"

These endpoints support pagination: GET /certificate_manage/certificates, GET /project_manage/basic/, GET /reports/certificate_report, GET /reports/daily-log, GET /reports/log_report, GET /reports/signing_report, GET /signing_request/signing_request_approval/{approvalUser_id}/.

Client Certificates

These endpoints are served over mutual TLS, so the client must present its authentication certificate as well as the token: POST /signing/pkcs11-api/, POST /signing/sign/, POST /signing/verify/. Refer to Securing API Access.

Responses

Successful requests return JSON: the requested records, or the record after a change. Error responses carry a short message in a JSON object:

{
    "message": "Token Expired"
}

A few endpoints, such as the ones that validate verification codes, return the message under detail instead of message.

HTTP Status Codes
Status CodeDescription
200Request processed. The body carries the requested records or the record after the change.
201The operation completed.
400The request could not be processed. The message names the reason, for example a client certificate that isn't recognised or isn't available to this account.
403The access token has expired. Get a new token and retry. Signing requests also return 403 when an approval was rejected or timed out.
440Authentication failed. The Authorization header is missing or malformed, the token is invalid, or its session is no longer active.
450The appliance licence is missing or has expired. Contact your administrator.
460The account is locked or has been deleted. Any active session is ended at the same time.
480The account's role does not carry the permission this endpoint requires.
490A verification code is required before this decision can be recorded. Request one, validate it, then retry.
491The verification code supplied is incorrect.
492The verification code has expired. Request a new one.
500The request could not be completed. The response carries a short message; the full cause is recorded in the appliance log.
Trailing Slashes

Call endpoints exactly as they are written in this reference, including any trailing slash.

On this Page:
Support Privacy Policy Terms of Service

Copyright Encryption Consulting LLC. All rights reserved.