{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"ca7fc443-d7a0-4eec-b685-c167bb9d2298","name":"CERTInext API v2","description":"# CERTInext API v2 — Customer REST APIs\n\nRESTful API for CERTInext certificate lifecycle management — issue, track, validate, renew, and revoke certificates programmatically.\n\n---\n\n## Getting started (three steps)\n\n1. **Pick your environment.** Use the environment dropdown (top-right in Postman) — Production (India / US), Sandbox, Demo, QA, or Localhost.\n2. **Fill in credentials.** Set the `appCode` and `accessKey` environment variables. Both are generated in the CERTInext portal under **Integration → REST APIs**.\n3. **Get a token.** Open **Authentication → Get Bearer Token** and hit **Send**. The response's `tokenDetails.accessToken` is auto-captured into `{{accessToken}}` — every other request uses it.\n\nAfter that, run any folder top-to-bottom. The test scripts auto-capture `orderId`, `requestId`, etc. so the next request in the flow works without editing.\n\n---\n\n## Workflow cheat sheet\n\n### SSL / TLS (DV example)\n```\n1. Authentication → Get Bearer Token\n2. SSL/TLS → 1. Create Order          → captures orderId\n3. SSL/TLS → 2. Get DCV Challenges    → returns HTTP / DNS / email proofs\n4. (publish the challenge on your domain)\n5. SSL/TLS → 3. Verify DCV            → CA re-checks\n6. SSL/TLS → 4. Submit CSR\n7. SSL/TLS → 5. Accept Agreement\n8. SSL/TLS → 6. Download Certificate\n```\nOptional alternatives:\n- **Cancel** before issuance → `7. Cancel Order`\n- **Revoke** after issuance → `8. Revoke Certificate`\n\n### Document Signer\n```\n1. Authentication → Get Bearer Token\n2. Document Signer → 1. Create Order         → captures orderId\n3. Document Signer → 2. Upload Documents (pending — use v1 /SubmitDocument)\n4. Document Signer → 3. Submit CSR\n5. Document Signer → 4. Accept Agreement\n6. Document Signer → 5. Download Certificate\n```\n\n### Private PKI\n```\n1. Authentication → Get Bearer Token\n2. Private PKI → 1. Create Order   → captures orderId\n3. Private PKI → 2. Submit CSR\n4. Private PKI → 3. Download Certificate\n```\n\n### Reconnaissance (call once per integration deploy, cache client-side)\n- **Catalog → List Products** — stable `productCode` per family (use in `X-Product-Code`)\n- **Accounts → List Organizations / Domains / Groups** — pre-vetted entitlements\n\n---\n\n## Conventions used across the API\n\n| Aspect | Standard |\n|---|---|\n| Auth | `Authorization: Bearer <jwt>` on every call |\n| Idempotency | `Idempotency-Key` header on every unsafe POST (auto-populated with `{{$guid}}` below) |\n| Timestamps | RFC 3339 UTC with `Z` |\n| Phones | E.164 — e.g. `+919481081094` |\n| Countries | ISO 3166-1 alpha-2 — e.g. `IN`, `US` |\n| IDs | Opaque strings — do not parse |\n| Errors | RFC 7807 `application/problem+json` with `type`, `title`, `status`, `detail`, `instance`, `code` |\n| Pagination | `?page=0&size=50` where applicable |\n\n---\n\n## Environment variables (auto-managed)\n\n| Variable | Filled by | Purpose |\n|---|---|---|\n| `appCode` | You (once) | Account identifier from portal |\n| `accessKey` | You (once) | Plain-text access key from portal |\n| `accessToken` | `Get Bearer Token` test script | Bearer JWT on every call |\n| `refreshToken` | `Get Bearer Token` test script | Future token refresh |\n| `orderId` | `Create *` test scripts | Reused by subsequent lifecycle calls |\n| `requestId` | `Create *` test scripts | Draft-only orders |\n| `productCodeSslDv / Ov / Ev` | Pre-filled per env | `X-Product-Code` header for SSL |\n| `productCodeDocSignerNp1Y / Lp1Y / Le1Y` | Pre-filled per env | `X-Product-Code` header for Document Signer |\n| `productCodePkiIntranet / Igtf` | Pre-filled per env | `X-Product-Code` header for Private PKI |\n| `caProfileId`, `masterProductId` | You (Private PKI orders) | CA template + subscription slot |\n\nSend any request with **Send** — all boilerplate (auth header, idempotency key, token refresh, state capture) runs automatically.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"40123569","team":1526668,"collectionId":"ca7fc443-d7a0-4eec-b685-c167bb9d2298","publishedId":"2sBXqJJLFh","public":true,"publicUrl":"https://documenter-api.postman.tech/view/40123569/2sBXqJJLFh","privateUrl":"https://go.postman.co/documentation/40123569-ca7fc443-d7a0-4eec-b685-c167bb9d2298","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"API collection for eMudhra's Certificate Lifecycle Management Application - CERTInext"},{"name":"title","value":"CERTInext API Collection"}],"appearance":{"default":"light","themes":[{"name":"dark","logo":"https://content.pstmn.io/ce619835-b831-40a0-b66e-19ebd2ef74fa/Y2VydGluZXh0LWxvZ28ucG5n","colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":"https://content.pstmn.io/ce619835-b831-40a0-b66e-19ebd2ef74fa/Y2VydGluZXh0LWxvZ28ucG5n","colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.10.1","publishDate":"2026-04-28T03:13:17.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"CERTInext API Collection","description":"API collection for eMudhra's Certificate Lifecycle Management Application - CERTInext"},"logos":{"logoLight":"https://content.pstmn.io/ce619835-b831-40a0-b66e-19ebd2ef74fa/Y2VydGluZXh0LWxvZ28ucG5n","logoDark":"https://content.pstmn.io/ce619835-b831-40a0-b66e-19ebd2ef74fa/Y2VydGluZXh0LWxvZ28ucG5n"}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/17586df23c11a2bb1331efbf99ef6eb0999f58d68692dccd36307e8468d68b57","favicon":"https://res.cloudinary.com/postman/image/upload/v1707393252/team/gokkhzfpbnqw8ko5elkd.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sBXqJJLFh"}