---
title: "Get list of identity providers"
method: GET
path: "/v1/auth/saml/idp/"
---

# Get list of identity providers

`GET /v1/auth/saml/idp/`

## Request

- Base URL: `https://app.iconik.io/API/auth`
- URL: `https://app.iconik.io/API/auth/v1/auth/saml/idp/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-auth/docs/v1/auth/saml/idp/get.ts> (a function with typed inputs; its response is checked against the schema)

Required roles:
 - can_read_identity_providers

## Query parameters

- `per_page` integer
- `last_id` string

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Response `200`

Returns a list of identity providers

- IdentityProvidersSchema
  - `first_url` string
  - `last_url` string
  - `next_url` string
  - `objects` IdentityProviderSchema[]
    - `date_created` string, date-time
    - `date_modified` string, date-time
    - `id` string, uuid
    - `public_id` string, uuid
    - `saml_settings` object
    - `settings` object, required
    - `type` 'onelogin.com' | 'auth0.com' | 'okta.com' | 'GENERIC', required
    - `verbose_logging` boolean
  - `page` integer
  - `pages` integer
  - `per_page` integer
  - `prev_url` string
  - `total` integer

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `404`: Requested page does not exist
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-auth.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-auth/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-auth/revisions/5dde985bb742?raw)
