aventra.Developers
API referenceContacts

Update a contact

Change a contact's name or notes. Omitted fields stay unchanged. An empty notes string clears the notes.

Permissions: Contacts: read and write.

PATCH/contacts/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

id*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

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 PATCH "https://example.com/contacts/4d73dca4-7537-4f9c-924e-8bccd354663f" \  -H "Authorization: Bearer $AVENTRA_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "notes": "Demo booked for next Tuesday."  }'
{  "data": {    "id": "56741677-c630-43a3-a7b0-cb88ee639675",    "name": "Ola Nordmann",    "notes": "Demo booked for next Tuesday.",    "created_at": "2026-09-05T10:00:00Z"  }}

See authentication, errors and retry guidance.