Get user custom data

GET /api/users/{userId}/custom-data

Get custom data for the given user ID.

Path parameters

  • userId string Required

    The unique identifier of the user.

Responses

  • 200 application/json

    Custom data in JSON for the given user ID.

    arbitrary

    arbitrary

  • Bad Request

  • Unauthorized

  • Forbidden

GET /api/users/{userId}/custom-data
curl \
 -X GET https://[tenant_id].logto.app/api/users/{userId}/custom-data \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{}