Skip to main content
This guide explains the standard response structure used across all Genuka API endpoints, covering success responses, collections, pagination, creation, updates, deletions, and error formats.

Success responses

Standard response format for single ressource

All Genuka API responses follow a consistent JSON structure:

Standard response format for collections

All Genuka API responses follow a consistent JSON structure:

Pagination Properties

Creation Response

When creating a new resource, the response typically includes the created resource :

Updating Response

When updating resource, the response typically includes the created resource :

Deleting Response

When deleting resource, the response typically includes the created resource :

Error response

When an error occurs, the response includes information about what went wrong: