Flutter Square API Documentation

Introduction

Welcome to the Flutter Square API. This hub provides centralized, secure, and scalable APIs for multiple client projects. Use versioned endpoints to integrate seamlessly into your applications.

Authentication

All requests must include a valid API_KEY in the header.

GET /client1/prod/v1/users
Host: api.fluttersquare.com
Authorization: Bearer YOUR_API_KEY

Endpoints

Here are some sample endpoints:

GET    /client1/prod/v1/users       → Fetch all users
POST   /client1/prod/v1/users       → Create new user
GET    /client1/prod/v1/orders      → Fetch orders
POST   /client1/prod/v1/orders      → Create order

Examples

Example request in PHP (cURL):

<?php
$curl = curl_init();
curl_setopt_array($curl, [
  CURLOPT_URL => \"https://api.fluttersquare.com/client1/prod/v1/users\",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => [
    \"Authorization: Bearer YOUR_API_KEY\"
  ],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
?>