Skip to main content

Get My User Metadata By Key

Returns a metadata value by a specific key of the authenticated user. Metadata is a key value list with additional information needed on the user.

Path Parameters
  • key string required
Responses

A successful response.


Schema
  • metadata object
  • details object
  • sequence uint64

    on read: the sequence of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

  • creationDate date-time

    on read: the timestamp of the first event of the object

    on create: the timestamp of the event(s) added by the manipulation

  • changeDate date-time

    on read: the timestamp of the last event reduced by the projection

    on manipulation: the

  • resourceOwner resource_owner is the organization an object belongs to
  • key string

    metadata key

  • value byte

    metadata value is base64 encoded, make sure to decode to get the value

GET /users/me/metadata/:key

Authorization

type: oauth2flow: authorizationCodescopes: openid

Request

Base URL
https://$ZITADEL_DOMAIN/auth/v1
Bearer Token
key — path required
Accept
curl -L -X GET 'https://$ZITADEL_DOMAIN/auth/v1/users/me/metadata/:key' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'