API Responses
Fishbowl API responses follow a consistent structure to ensure clarity, predictability, and ease of integration. Every response is formatted in JSON and includes relevant metadata to help you process the data effectively.
Standard Response Structure
A typical API response includes the following components:
{
"success": true,
"message": "Success",
"data": [
{
"id": int,
"uuid": "string",
"type": "string",
"attributes": {
"clientUuid": "string",
"brandUuid": "string"
},
"meta": {
"timestamps": {
"created": {
"date": "2024-11-15 10:20:30.120000",
"timezone_type": 3,
"timezone": "UTC"
},
"modified": {
"date": "2024-11-16 10:20:30.120000",
"timezone_type": 3,
"timezone": "UTC"
}
},
"authors": {
"creator": "string",
"modifier": "string"
}
},
"relationships": {
"someEntity": [
"jsonObject"
]
}
}
],
"errors": null,
"error_code": null,
"total": 1,
"cache_hit": false
}