Get My User Metadata By Key
GEThttps://$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​
- 200
- default
A successful response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
metadata
object
{
"metadata": {
"details": {
"sequence": "2",
"creationDate": "2025-04-03T09:33:10.310Z",
"changeDate": "2025-04-03T09:33:10.310Z",
"resourceOwner": "69629023906488334"
},
"key": "key1",
"value": "VGhpcyBpcyBteSBmaXJzdCB2YWx1ZQ=="
}
}
- Schema
- Example (from schema)
Schema
metadata
object
{
"metadata": {
"details": {
"sequence": "2",
"creationDate": "2025-04-03T09:33:10.311Z",
"changeDate": "2025-04-03T09:33:10.311Z",
"resourceOwner": "69629023906488334"
},
"key": "key1",
"value": "VGhpcyBpcyBteSBmaXJzdCB2YWx1ZQ=="
}
}
- Schema
- Example (from schema)
Schema
metadata
object
{
"metadata": {
"details": {
"sequence": "2",
"creationDate": "2025-04-03T09:33:10.312Z",
"changeDate": "2025-04-03T09:33:10.312Z",
"resourceOwner": "69629023906488334"
},
"key": "key1",
"value": "VGhpcyBpcyBteSBmaXJzdCB2YWx1ZQ=="
}
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://$CUSTOM-DOMAIN/auth/v1/users/me/metadata/:key' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear