---
title: "Return provider's available SSL certificates"
method: GET
path: "/Market/get_ssl_certificate_if_available"
tags: ["Market", "SSL Certificates"]
---

# Return provider's available SSL certificates

`GET /Market/get_ssl_certificate_if_available`

This function retrieves SSL certificates when they are available from the cPanel Market provider.

## Query parameters

- `order_item_id` string, required
- `provider` string, required

## Response `200`

HTTP Request was successful.

- object
  - `apiversion` integer — The version of the API.
  - `func` string — The name of the method called.
  - `module` string — The name of the module called.
  - `result` object
    - `data` object
      - `certificate_pem` string, base64 certificate, nullable — The certificate's text. * `null` - The certificate is not available. * A certificate file in [Base64 PEM](https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail) format.
      - `encrypted_action_urls` object — An object that contains encrypted URLs a user must click to complete their SSL certificate order. **Note:** This return may also contain additional key values. For more information, read [Sectigo's documentation](https://sectigo.com/uploads/files/CollectSSL-v1.17.pdf).
        - `evClickThroughStatus` string, nullable — A URL the user must click to electronically sign an agreement for their Extended Validation (EV) certificate. * An encrypted URL. * `null` - No action required.
        - `ovCallbackStatus` string, nullable — URL the user must click to verify their identity by phone to complete their Organization Validation (OV) certificate order. * An encrypted URL. * `null` - No action required.
      - `status_code` string — The status code of the certificate.
      - `status_message` string — An error message from the certificate provider. For example, why a certificate authority rejected an SSL certificate. **Note:** If no error message exists, this will return an empty string.
    - `errors` string[], nullable — List of errors if the API failed.
    - `messages` string[], nullable — List of messages generated by the API.
    - `metadata` object
      - `transformed` 1 — Post-processing may have transformed the data.
    - `status` 0 | 1 — * `1` - Success * `0` - Failed: Check the errors field for more details.
    - `warnings` string[], nullable — List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.

---

[API](https://skmtc.dev/cpanel/apis/cpanel-uapi.md) · [All operations](https://skmtc.dev/cpanel/apis/cpanel-uapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cpanel/cpanel-uapi/revisions/632e2f8e6d04/schema)
