Skip to main content

Overview

The CodeGate SDK API provides project info, code listing, verify, reactivate, and statistics. All endpoints require API Key + HMAC-SHA256 signature authentication. Prefer the Python SDK or JavaScript SDK to avoid writing signing logic.

Authentication

Each request must carry the following in HTTP headers: Signature string format:
  • For empty body use SHA256 of empty string: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  • Timestamp must be within ±5 minutes to prevent replay attacks

Endpoint quick reference

Business error codes (verify / reactivate)

When the response has success=false, error_code may be:

HTTP status codes