aventra.Developers
API referenceOffers

Create an offer

Create an opportunity in the sales pipeline, linked to a company in your workspace.

Permissions: Offers: read and write.

Behavior and retry rules

Revenue values are whole Norwegian kroner (NOK), excluding VAT, not øre. Recurring revenue is the amount per selected period. Creating an offer does not send an email, generate a quote document, or add a separate timeline event. user_id is required. Find the owner using GET users. Use a stable id for timeout recovery: duplicate IDs return 409.

POST/offers

Authorization

bearerAuth
AuthorizationBearer <token>

Create a key in Aventra → Innstillinger → API-nøkler.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/offers" \  -H "Authorization: Bearer $AVENTRA_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "user_id": "f52b3fd3-5ff4-4d93-91c5-6ac79e21cdd5",    "title": "CRM onboarding",    "company_id": "4d73dca4-7537-4f9c-924e-8bccd354663f",    "one_time_revenue": 15000,    "recurring_revenue": 2500,    "recurring_frequency": "monthly",    "weight": 30  }'
{  "data": {    "id": "b84e23dd-9ab0-4df3-bbfd-0fba509cdab8",    "title": "CRM onboarding",    "description": null,    "company_id": "4d73dca4-7537-4f9c-924e-8bccd354663f",    "user_id": "f52b3fd3-5ff4-4d93-91c5-6ac79e21cdd5",    "status": "new",    "one_time_revenue": 15000,    "recurring_revenue": 2500,    "recurring_frequency": "monthly",    "weight": 30,    "created_at": "2026-09-05T10:00:00Z"  }}

See authentication, errors and retry guidance.