GET
/
companies
List companies
curl --request GET \
  --url https://staging.yasmina.ai/api/v1/medical/companies \
  --header 'Authorization: Bearer <token>'
[
  {
    "name": "Syarah",
    "name_ar": "شركة سيارة",
    "sponsor_number": "123",
    "email_address": "[email protected]",
    "phone_number": "+966551234567",
    "commercial_registration_number": "456",
    "client_id": "9ba293f7-5f62-4e82-be9b-d804cc9d392c",
    "updated_at": "2024-12-28T09:50:14.000000Z",
    "created_at": "2024-12-28T09:50:14.000000Z",
    "id": 1
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

A list of companies

The response is of type object[].