TraXmark API v1

OpenAPI 3.1.0. Auth: klucz API trax_… (w bazie tylko hash Argon2id). Błędy RFC7807 z kluczem i18n i x-correlation-id. Cursor pagination cap 100. Anty-enumeracja: nieistniejący zasób i brak dostępu = zawsze 404.

Resources

Scopes

Endpoints (12)

SDK snippets

// Node.js
const res = await fetch('https://api.traxmark.com/api/v1/contacts?limit=50', {
  headers: { Authorization: `Bearer ${process.env.TRAXMARK_API_KEY}` },
});
if (!res.ok) throw new Error(await res.text()); // RFC7807 JSON
const { items, nextCursor } = await res.json();

# Python
import requests
r = requests.get('https://api.traxmark.com/api/v1/contacts',
                 headers={'Authorization': f'Bearer {API_KEY}'}, params={'limit': 50})
r.raise_for_status(); data = r.json()