Skip to main content

Get My User Metadata By Key

GET 

https://$CUSTOM-DOMAIN/auth/v1/users/me/metadata/: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.

Request​

Path Parameters

    key stringrequired

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 (string)
    key string

    metadata key

    value byte

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

curl -L 'https://$CUSTOM-DOMAIN/auth/v1/users/me/metadata/:key' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://$CUSTOM-DOMAIN/auth/v1
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!