v1

latestOpenAPI 3.0.12026-07-141671231.8 MB
Users

User Profile

This endpoint returns information about the company and the user associated to the token.

get/api/external/v2/me

Response

Returns the user and the company

scopesstring[] required

OAuth scopes associated with the access token

Example response

{
  "user": {
    "id": 12345,
    "first_name": "John",
    "last_name": "Doe",
    "email": "jdoe@pennylane.com",
    "locale": "fr"
  },
  "company": {
    "id": 123456,
    "name": "Pennylane",
    "reg_no": "123456789",
    "accounting_logic": "FR_PCG"
  },
  "scopes": [
    "customer_invoices",
    "suppliers"
  ]
}