---
title: "Signed RS-KYA credential and a one-hour holder-bound kya+jwt token for a public agent"
method: GET
path: "/v1/kya/{kya_id}/credential"
tags: ["Platform"]
---

# Signed RS-KYA credential and a one-hour holder-bound kya+jwt token for a public agent

`GET /v1/kya/{kya_id}/credential`

## Request

- Base URL: `https://www.rightshold.com`
- URL: `https://www.rightshold.com/v1/kya/{kya_id}/credential`
- Auth: none required

## Path parameters

- `kya_id` string, required

## Headers

- `X-Request-Id` string

## Response `200`

OK

- object: Inferred from 7 recorded responses; required fields appeared in every one; additional properties may appear.
  - `credential` object, required
    - `@context` string[], required
    - `type` string[], required
    - `spec` string, required
    - `issuer` object, required
      - `id` string, required
      - `name` string, required
      - `issuer_id` string, required
    - `key_id` string, required
    - `validFrom` string, required
    - `validUntil` string, required
    - `credentialSubject` object, required
      - `id` string, required
      - `did` string
      - `agent_id` string, required
      - `number` string, required
      - `handle` string, required
      - `level` string, required
      - `level_name` string, required
      - `status` string, required
      - `components` object, required
        - `key` object, required
        - `operator` object, required
        - `registration` object, required
        - `record` object, required
    - `credentialStatus` object, required
      - `type` string, required
      - `id` string, required
    - `schema` string, required
  - `signature` string, required
  - `alg` string, required
  - `token` string, required
  - `token_expires_at` string, required
  - `how_to_verify` string, required

## Other responses

- `400`: Problem details: a stable error code, type URI, title, status and an explanation
- `401`: Problem details: a stable error code, type URI, title, status and an explanation
- `404`: Problem details: a stable error code, type URI, title, status and an explanation
- `405`: Problem details: a stable error code, type URI, title, status and an explanation
- `422`: Problem details: a stable error code, type URI, title, status and an explanation
- `429`: Request budget exhausted; retry after Retry-After seconds
- `500`: Problem details: a stable error code, type URI, title, status and an explanation
- `4XX`: {error, detail}

---

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