HHorixa

← Developers

API-documentatie

Publieke REST API van Horixa. Authenticatie via `Authorization: Bearer hx_live_...` API-keys met scopes. Rate limit: 120 requests per minuut per key.

Versie 2.0https://horixa.nl/api/v2OpenAPI 3.1-spec (JSON) ↓

Authenticatie

Stuur je API-key (aan te maken onder Instellingen → API-keys) mee als Bearer-token. De key moet de scope hebben die bij het endpoint staat.

curl https://horixa.nl/api/v2/crm/organization \
  -H "Authorization: Bearer hx_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

Fouten volgen RFC 7807 (application/problem+json: type, title, status, detail). Rate limit: 120 requests per minuut per key, zie de X-RateLimit-* headers.

CRM

get/crm/organizationscope: crm:read

Lijst organizations

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200OK (Organization)
  • 401Fout (RFC 7807) (Problem)
  • 429Fout (RFC 7807) (Problem)
post/crm/organizationscope: crm:write

Maak organization

Request body (JSON) — OrganizationCreate

VeldTypeVerplicht
namestring · max 300 tekensja
coc_codestring · nullable · max 20 tekensnee
vat_numberstring · nullable · max 30 tekensnee
relation_numberstring · nullable · max 50 tekensnee
industrystring · nullable · max 100 tekensnee
emailstring (email) · nullablenee
phonestring · nullable · max 40 tekensnee
urlstring (uri) · nullablenee
addressobject (line1, postal_code, locality, country)nee
notestring · nullable · max 10000 tekensnee

Responses

  • 201Created (Organization)
  • 400Fout (RFC 7807) (Problem)
  • 401Fout (RFC 7807) (Problem)
get/crm/organization/{id}scope: crm:read

Organisatie op id

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200OK (Organization)
  • 404Fout (RFC 7807) (Problem)
get/crm/personscope: crm:read

Lijst persons

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200OK (Person)
  • 401Fout (RFC 7807) (Problem)
  • 429Fout (RFC 7807) (Problem)
post/crm/personscope: crm:write

Maak person

Request body (JSON) — PersonCreate

VeldTypeVerplicht
first_namestring · nullable · max 100 tekensnee
last_namestring · max 150 tekensja
emailstring (email) · nullablenee
phonestring · nullable · max 40 tekensnee
notestring · nullable · max 10000 tekensnee

Responses

  • 201Created (Person)
  • 400Fout (RFC 7807) (Problem)
  • 401Fout (RFC 7807) (Problem)

Projecten

get/projects/projectscope: projects:read

Lijst projects

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200OK (Project)
  • 401Fout (RFC 7807) (Problem)
  • 429Fout (RFC 7807) (Problem)
post/projects/projectscope: projects:write

Maak project

Request body (JSON) — ProjectCreate

VeldTypeVerplicht
namestring · max 300 tekensja
organization_idstring (uuid) · nullablenee
person_idstring (uuid) · nullablenee
manager_employee_idstring (uuid) · nullablenee
status"active" | "closed" | "archived" · standaard "active"nee
start_datestring (date) · nullablenee
end_datestring (date) · nullablenee
budget_minutesinteger · nullable · min 0nee
budget_amountnumber · nullable · min 0nee
notestring · nullable · max 10000 tekensnee

Responses

  • 201Created (Project)
  • 400Fout (RFC 7807) (Problem)
  • 401Fout (RFC 7807) (Problem)
get/projects/servicescope: projects:read

Lijst diensten

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200OK (ProjectService)
  • 401Fout (RFC 7807) (Problem)
  • 429Fout (RFC 7807) (Problem)

Uren

get/hours/hoursscope: hours:read

Lijst hourss

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200OK (Hours)
  • 401Fout (RFC 7807) (Problem)
  • 429Fout (RFC 7807) (Problem)
post/hours/hoursscope: hours:write

Maak hours

Request body (JSON) — HoursCreate

VeldTypeVerplicht
employee_idstring (uuid)ja
project_idstring (uuid) · nullablenee
service_idstring (uuid) · nullablenee
hour_type_idstring (uuid) · nullablenee
start_atstring (date-time)ja
minutesinteger · min 1, max 1440ja
notestring · nullable · max 2000 tekensnee
billableboolean · standaard truenee

Responses

  • 201Created (Hours)
  • 400Fout (RFC 7807) (Problem)
  • 401Fout (RFC 7807) (Problem)
get/hours/hourstypescope: hours:read

Lijst uursoorten

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200OK (HourType)
  • 401Fout (RFC 7807) (Problem)
  • 429Fout (RFC 7807) (Problem)

HRM

get/hrm/employeescope: hrm:read

Lijst medewerkers

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200OK (Employee)
  • 401Fout (RFC 7807) (Problem)
  • 429Fout (RFC 7807) (Problem)
get/hrm/leavescope: hrm:read

Lijst verlofaanvragen

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200OK (LeaveRequest)
  • 401Fout (RFC 7807) (Problem)
  • 429Fout (RFC 7807) (Problem)

Sales

get/sales/salesscope: sales:read

Lijst verkoopkansen

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200OK (SalesOpportunity)
  • 401Fout (RFC 7807) (Problem)
  • 429Fout (RFC 7807) (Problem)

Facturatie

get/invoices/invoicescope: invoices:read

Lijst facturen

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200OK (Invoice)
  • 401Fout (RFC 7807) (Problem)
  • 429Fout (RFC 7807) (Problem)
get/invoices/invoice/{id}scope: invoices:read

Factuur op id, inclusief regels

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200OK (Invoice)
  • 404Fout (RFC 7807) (Problem)

Hulp nodig bij een koppeling?

Neem contact op