# List the issuers Koil connects through

`GET https://api.koil.co/v1/issuers`

List the issuers Koil connects through: the methods each supports, and the JSON Schema of what each takes (a key's `config` and `secret`). Needs no key.

## Authorization

None: this route takes no key.

## Example

```bash
curl -X GET "https://api.koil.co/v1/issuers"
```

## Response 200

The issuers Koil connects through.

- `data` (array of object, required)
  - `id` (string, required) (min length 1): The issuer's id: an App's and a Connection's `issuerId`, such as `facebook` or `google`.
  - `displayName` (string, required) (min length 1): The issuer's name as end users know it.
  - `methods` (object, required): The methods the issuer supports, each with the shape of what it takes.
    - `oauth` (object): An end user authorizes your App (`POST /v1/apps`), through a Connect Session, or you create the Connection from a grant you hold. It takes no input of its own.
    - `key` (object): The brand gives you a key of its own, which you collect with these fields and send to `POST /v1/connections`. There is no App.
      - `config` (object, required): The JSON Schema of a key's public half (`config` on `POST /v1/connections` and `PUT /v1/connections/{connectionId}/credential`), returned on the Connection.
      - `secret` (object, required): The JSON Schema of a key's secret half (`secret`), which Koil seals and never returns. Each field is marked `writeOnly` or `format: "password"`; one that holds a file's text, which spans lines, names its `contentMediaType` (`application/x-pem-file` for a PEM private key).

## Errors

Every error has the same shape: `{ "error": { "code", "message", "meta", "requestId" } }`. [Errors →](https://docs.koil.co/concepts/errors)

| Status | Meaning |
| --- | --- |
| 400 | `validation_error`: The request does not match the operation's input schema, fails an admission check, or the platform refused its content. `meta.violations` names every problem. `not_supported`: The platform, collection or resource does not offer this operation, such as exporting a `key` Connection's credential, which Koil never returns. |
| 429 | `rate_limit_exceeded`: Koil's own rate limit for the key, Organization, Profile, or client address is spent (`meta.budgets` names which); retry after `Retry-After` seconds. `platform_rate_limit`: The platform throttled the call or the platform quota is spent; retry after `Retry-After` seconds. |
| 500 | `internal`: Koil or the platform failed, and the status says which: 500 when Koil failed, including a platform refusing how Koil made the call; 502 when the platform failed or answered something Koil cannot use; 504 when Koil's call to the platform timed out. The message is generic; retry with backoff. |
| 503 | `service_unavailable`: A service Koil needs to accept the request (API key validation or rate limiting) is unavailable. Nothing was attempted; retry after `Retry-After` seconds. |
| default | Any other failure. `error.code` names it; the HTTP status follows from it. |
