> For the complete documentation index, see [llms.txt](https://docs.toolkit.equs.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.toolkit.equs.ai/api/control-api/issuance.md).

# Issuance

## Get Credential Offers

> Fetches All credential Offers

```json
{"openapi":"3.0.0","info":{"title":"EqusDTK Control API Documentation","version":"0.1.2"},"tags":[{"name":"Issuance","description":""}],"security":[{"sp":[]},{"tenant":[]},{"sp":[]}],"components":{"securitySchemes":{"sp":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Service Provider. Token of the Service Provider client in the `agents` realm, with no `tenantId` claim. Authorize one bearer scheme at a time."},"tenant":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Tenant. Token of a Tenant machine client or of a Tenant portal user, carrying the `tenantId` claim. Authorize one bearer scheme at a time."}},"schemas":{"GetCredentialOffersResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/GetCredentialOffersResponseItem"}},"pagination":{"$ref":"#/components/schemas/PaginationData"}},"required":["items","pagination"]},"GetCredentialOffersResponseItem":{"type":"object","properties":{"uriId":{"type":"string","description":"Credential offer URI unique ID"},"userId":{"type":"object","description":"User unique ID"},"state":{"type":"string","description":"Current lifecycle state of the credential offer.","enum":["pending","issued","accepted","declined","neglected","revoked","failed","compromised"]},"credLifetime":{"type":"object","description":"Lifetime, in seconds, of the credential issued from this offer."},"assurance":{"type":"object","description":"Assurance level applied to the credential issued from this offer."},"offerDate":{"format":"date-time","type":"string","description":"Date and time the credential offer was created."},"updatedDate":{"format":"date-time","type":"string","description":"Date and time the credential offer was last updated."},"credDefId":{"type":"string","description":"Credential definition unique ID"},"credentialIssuer":{"type":"string","description":"Base URL of the issuer that produced this credential offer."},"issuerId":{"type":"string","description":"Issuer unique ID"}},"required":["uriId","state","credLifetime","assurance","offerDate","updatedDate","credDefId","credentialIssuer","issuerId"]},"PaginationData":{"type":"object","properties":{"page":{"type":"number"},"limit":{"type":"number"}},"required":["page","limit"]}}},"paths":{"/api/v1/issuance/offers":{"get":{"description":"Fetches All credential Offers","operationId":"OfferController_getCredentialOffers_api/v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}}],"responses":{"200":{"description":"When Offers are retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCredentialOffersResponse"}}}}},"summary":"Get Credential Offers","tags":["Issuance"]}}}}
```

## Get Credential Offer

> Fetches Credential Offer

```json
{"openapi":"3.0.0","info":{"title":"EqusDTK Control API Documentation","version":"0.1.2"},"tags":[{"name":"Issuance","description":""}],"security":[{"sp":[]},{"tenant":[]},{"sp":[]}],"components":{"securitySchemes":{"sp":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Service Provider. Token of the Service Provider client in the `agents` realm, with no `tenantId` claim. Authorize one bearer scheme at a time."},"tenant":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Tenant. Token of a Tenant machine client or of a Tenant portal user, carrying the `tenantId` claim. Authorize one bearer scheme at a time."}},"schemas":{"GetCredentialOfferResponse":{"type":"object","properties":{"uriId":{"type":"string","description":"Credential offer URI unique ID"},"userId":{"type":"object","description":"User unique ID"},"state":{"type":"string","description":"Current lifecycle state of the credential offer.","enum":["pending","issued","accepted","declined","neglected","revoked","failed","compromised"]},"credLifetime":{"type":"object","description":"Lifetime, in seconds, of the credential issued from this offer."},"assurance":{"type":"object","description":"Assurance level applied to the credential issued from this offer."},"offerDate":{"format":"date-time","type":"string","description":"Date and time the credential offer was created."},"updatedDate":{"format":"date-time","type":"string","description":"Date and time the credential offer was last updated."},"credDefId":{"type":"string","description":"Credential definition unique ID"},"credentialIssuer":{"type":"string","description":"Base URL of the issuer that produced this credential offer."},"issuerId":{"type":"string","description":"Issuer unique ID"},"statusList":{"description":"Status list entry used to track and revoke the issued credential, if any.","allOf":[{"$ref":"#/components/schemas/StatusInfo"}]},"byReference":{"type":"string","description":"Deep link the wallet uses to fetch this credential offer by reference."}},"required":["uriId","state","credLifetime","assurance","offerDate","updatedDate","credDefId","credentialIssuer","issuerId","byReference"]},"StatusInfo":{"type":"object","properties":{"uri":{"type":"string","description":"URI of the status list credential that tracks this offer."},"idx":{"type":"number","description":"Index of the offer within its status list."}},"required":["uri","idx"]}}},"paths":{"/api/v1/issuance/offers/{id}":{"get":{"description":"Fetches Credential Offer","operationId":"OfferController_getCredentialOffer_api/v1","parameters":[{"name":"id","required":true,"in":"path","description":"Credential offer unique ID","schema":{"type":"string"}}],"responses":{"200":{"description":"When Offer i retrieved successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCredentialOfferResponse"}}}},"404":{"description":"When no offer with such id exists for this user."}},"summary":"Get Credential Offer","tags":["Issuance"]}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.toolkit.equs.ai/api/control-api/issuance.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
