---
title: "POST /api/v1/pki/syncs/certificate-orders/search"
method: POST
path: "/api/v1/pki/syncs/certificate-orders/search"
tags: ["PKI Syncs"]
---

# POST /api/v1/pki/syncs/certificate-orders/search

`POST /api/v1/pki/syncs/certificate-orders/search`

## Request

- Base URL: `https://us.infisical.com`
- URL: `https://us.infisical.com/api/v1/pki/syncs/certificate-orders/search`
- Auth: none declared
- TypeScript: <https://skmtc.dev/infisical/apis/infisical-api/docs/api/v1/pki/syncs/certificate-orders/search/post.ts> (a function with typed inputs; its response is checked against the schema)

Resolve certificate orders to the certificate each one currently holds.

## Request body

- object
  - `pkiSyncId` string, uuid: Preview the filters against this existing PKI Sync.
  - `applicationId` string, uuid: Preview the filters against this Application, for a PKI Sync that does not exist yet.
  - `certificateOrderIds` string[], required: Match any certificate belonging to any one of these certificate orders. An order groups a certificate with every renewal of it, so this keeps matching as the certificate is renewed.

## Response `200`

Default Response

- object
  - `orders` object[], required
    - `certificateOrderId` string, uuid, required
    - `commonName` string, required
    - `altNames` string, nullable

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response
- `422`: Default Response
- `500`: Default Response

## Changes

- **2026-09-17** `7a0c98551644`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/infisical/apis/infisical-api/changes/api/v1/pki/syncs/certificate-orders/search/post.md)

---

[API](https://skmtc.dev/infisical/apis/infisical-api.md) - [All operations](https://skmtc.dev/infisical/apis/infisical-api/llms.txt) - [OpenAPI document](https://skmtc.dev/infisical/apis/infisical-api/revisions/fcd86e7b5ec8?raw)
