๐Ÿ” Response Format

Request and Responses

All Straqa responses follow a consistent structure to simplify handling on the client side.

Response Format:

{
  "success": true,
  "message": "Request successful",
  "data": { /* your data here */ },
  "responseCode": "SUCCESS"
}
  • success: Boolean flag indicating the operation result.

  • message: Descriptive status message.

  • data: Contains the actual payload (object or array).

  • responseCode: A string tag representing the result type.