Organization

Get Organization Details

Retrieve detailed information about the organization associated with the API key. Returns organization settings, contact information, and configuration details.

GET
/v1/organization

Authorization

bearerAuth
AuthorizationBearer <token>

Bearer token authentication for API access.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.sophiie.ai/v1/organization"
{
  "id": "org_abc123",
  "name": "Acme Plumbing Services",
  "businessPhone": "+1234567890",
  "website": "https://acmeplumbing.com",
  "socials": {
    "facebook": "acmeplumbing",
    "instagram": "acme_plumbing"
  },
  "timeZone": "Australia/Sydney",
  "country": "AU",
  "currency": "AUD",
  "timeFormat": 12,
  "weekStart": "Monday"
}
{
  "success": false,
  "message": "Invalid or expired token",
  "error": {
    "status": 401,
    "message": "Invalid or expired token"
  }
}
{
  "success": false,
  "message": "Not found",
  "error": {
    "status": 404,
    "message": "Not found"
  }
}
{
  "success": false,
  "message": "Internal server error",
  "error": {
    "status": 500,
    "message": "Internal server error"
  }
}