heruAPI
Authentication

Get the caller of the token

LiveServed by the v1 API in development with the same checks as production; production opens on the same contract. The capabilities from before v1 keep running in production at the path your account team gives you.

GET
/me

Answers which client, organization, company and scopes the access token you send carries. Use it to check your credentials before you build on them. It needs no scope, only a valid token. Responses are never cached.

Authorization

oauth2
headerAuthorizationBearer <token>

OAuth 2.0 client credentials. Exchange your client_id and client_secret at /oauth/token of the environment for a bearer token valid for one hour. The playground of every operation asks for your own client and keeps it in your browser tab only.

Response body

OK

application/json
  1. response
client_id*string

The client the token was issued to.

organization_id*string

The organization that owns the client.

company_id?string

The company the token reaches. Absent when it carries none.

scopes*array<string>

The scopes of the token.

curl -X GET 'https://api.dev.b2b.heru.app/v1/me'
{  "client_id": "client-example",  "organization_id": "organization-example",  "company_id": "company-example",  "scopes": [    "merchants:read",    "charges:write"  ]}
© 2026 Kuarto Inc. (heru)heru.appQuestions about your integration? Contact your heru account team.