Get Company Example

Here’s a basic example of how to retrieve Company information using curl:

#!/bin/bash

Base variables
API_KEY="your-api-key-here" BASE_URL="https://portal.demo.unifly.tech/api/gcs"

Get company details
curl -X GET "${BASE_URL}/company"
-H "apikey: ${API_KEY}"
-H "Content-Type: application/json"
-v

The -v flag enables verbose output, showing the full HTTP request and response including headers.

Replace your-api-key-here with your actual values.