Skip to main content
GET
/
api
/
identity-providers
/
{alias}
/
mappers
List mappers for an identity provider
curl --request GET \
  --url https://api.example.com/api/identity-providers/{alias}/mappers \
  --header 'Authorization: Bearer <token>'
[
  {
    "name": "<string>",
    "identity_provider_mapper": "<string>",
    "id": "<string>",
    "config": {}
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

alias
string
required

Response

Identity provider mappers

name
string
required

Mapper name (e.g. 'email-mapper')

identity_provider_mapper
string
required

Mapper type (e.g. 'oidc-user-attribute-idp-mapper', 'saml-user-attribute-idp-mapper')

id
string | null

Mapper ID (set by Keycloak, omit on create)

config
Config · object

Mapper config (keys vary by mapper type: syncMode, claim, user.attribute, etc.)