Skip to navigation

Check an API key with GET /me

New: GET /me

GET /me returns the API key’s user and the name of its company. Use it to check that a key works, or to show which company a connection belongs to.

{
"user": {
"id": 10229,
"firstName": "API User",
"lastName": "Jane Doe",
"email": "jane_doe_123_API@example.com"
},
"company": { "name": "Acme Solar" }
}
  • user is the key’s API user, which Coperniq creates along with the key. It is not the person who created the key.
  • It takes no parameters. A missing or invalid key returns 401, as on other endpoints.