added

V2 - New User Profile endpoint

You can now retrieve details about the user and company associated with the access token by using the following endpoint:

GET /api/external/v2/me

This will return the following response:

{
  "user": {
    "id": 12345,
    "first_name": "John",
    "last_name": "Doe",
    "email": "[email protected]",
    "locale": "fr"
  },
  "company": {
    "id": 123456,
    "name": "Pennylane",
    "reg_no": 123456789
  }
}

This endpoint works with any valid access token, regardless of its scopes.

For more details, visit the API documentation page.