API Reference
Users
User profile management for the authenticated user.
GET
Retrieves the authenticated user's profile information.
User profile
application/json- response
id*stringsiteId*stringFormat
uuidemail*stringFormat
emailemailVerified*booleanname*stringimage?stringFormat
uricreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -X GET 'https://example.com/api/users/me'Example Response
{ "id": "string", "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1", "email": "user@example.com", "emailVerified": true, "name": "string", "image": "http://example.com", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}PATCH
Updates the authenticated user's profile information.
application/json- body
name*stringDisplay name
Length
1 <= lengthUser updated
application/json- response
id*stringsiteId*stringFormat
uuidemail*stringFormat
emailemailVerified*booleanname*stringimage?stringFormat
uricreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -X PATCH 'https://example.com/api/users/me' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "id": "string", "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1", "email": "user@example.com", "emailVerified": true, "name": "string", "image": "http://example.com", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}