Get Me
GET
/api/auth/me
const url = 'https://example.com/api/auth/me';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/auth/me \ --header 'Authorization: Bearer <token>'Return the current user’s profile and linked provider identities.
Requires a valid access token.
Returns: { “user_id”: ”…”, “user_uuid”: ”…”, “display_name”: ”…”, “email”: ”…”, “avatar_url”: ”…”, “deal_id”: ”…”, “identities”: [{“provider”: ”…”, “provider_user_id”: ”…”, “created_at”: ”…”}] }
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Successful Response
Media type application/json
MeResponse
Response from GET /auth/me.
object
user_id
required
User Id
string
Example generated
{ "user_id": "example", "user_uuid": "example", "display_name": "example", "email": "example", "avatar_url": "example", "deal_id": "example", "identities": [ { "provider": "example", "provider_user_id": "example", "created_at": "example" } ]}