API referenceConnection
Check your connection
Verify your Aventra CRM API connection and read the workspace, key creator and permission mask associated with the current Bearer key.
Permissions: Any valid API key.
GET
/meAuthorization
bearerAuth AuthorizationBearer <token>
Create a key in Aventra → Innstillinger → API-nøkler.
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/me" \ -H "Authorization: Bearer $AVENTRA_API_KEY"{ "data": { "tenant_id": "c9bb281a-6b23-48eb-8a0c-fd523748c54f", "user_id": "f52b3fd3-5ff4-4d93-91c5-6ac79e21cdd5", "permissions": 207 }}See authentication, errors and retry guidance.
Find workspace users
Find Aventra workspace users by email or browse the directory. Use their UUIDs to assign CRM tasks, company records and sales offers.
Create or find a company
Add a Norwegian company by organisation number. Aventra supplies the register details. An existing company is returned without changing it.