---
title: "GET /api/v1/cainfo"
method: GET
path: "/api/v1/cainfo"
tags: ["fabric-ca-server"]
---

# GET /api/v1/cainfo

`GET /api/v1/cainfo`

Get CA information.

## Query parameters

- `ca` string

## Response `200`

Successfully retrieved server information

- ResponseBase
  - `result` unknown, required
  - `success` boolean, required — Boolean indicating if the request was successful.
  - `errors` object[], required — An array of error messages (code and message)
    - `code` integer, required — Integer code denoting the type of error.
    - `message` string, required — An error message
  - `messages` object[], required — An array of information messages (code and message)
    - `code` integer, required — Integer code denoting the type of message.
    - `message` string, required — A more specific message.

## Changes

- **2022-07-07** `caceed60027b` — 1 warning, 1 info
  - removed the optional property `result/RevocationPublicKey` from the response with the `200` status
  - added the optional property `result/IssuerRevocationPublicKey` to the response with the `200` status
- **2022-06-20** `f5334c38d4d9` — 1 warning, 1 info
  - removed the optional property `result/IssuerRevocationPublicKey` from the response with the `200` status
  - added the optional property `result/RevocationPublicKey` to the response with the `200` status

[Change history](https://skmtc.dev/hyperledger/apis/fabric-ca-server-api/changes/api/v1/cainfo/get.md)

---

[API](https://skmtc.dev/hyperledger/apis/fabric-ca-server-api.md) · [All operations](https://skmtc.dev/hyperledger/apis/fabric-ca-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hyperledger/fabric-ca-server-api/revisions/f1cf3d665f0e/schema)
