Me

Me endpoint provides you with the current user name, email, and JWT token SSO to CollateralXP application.


POST/api/v1/me

Me

This endpoint retrieves the current user information.

Request

POST
/api/v1/me
curl --location --request POST 'https://app.collateralxp.com/api/v1/me' \
  --header 'X-API-KEY: {api_key}' \
  --header 'X-USER-EMAIL: {user_email}'

Response

{
  "id": "a141d351-aec4-475e-b6e9-fecb7a38bc04",
  "name": "John Doe",
  "email": "john@doe.com",
  "jwt": "eyJhbGciOaJIUzUxMiJ9.eyJpZCI6ImExNDFkMzUxLWFlYzQtNDc1ZS1iNmU5LWZlY2I3YTM4YmMwNCIsImV4cCI6MTY3NjExOTMwNH0.Uy_nX5K5nnhb2gRZNWgTbNfPIbVJsBPRCEBLdr9qC-Y48caXUuGfp7J6B0WfihPohfFfZSGSG9TZKSeJTRnAmw"
}