To list all the companies that you’ve created
cURL
curl --request GET \ --url https://portal.yasmina.ai/api/v1/medical/companies \ --header 'Authorization: Bearer <token>'
[ { "name": "Example company name", "name_ar": "مثال اسم شركة", "sponsor_number": "789", "email_address": "[email protected]", "phone_number": "+966512345678", "commercial_registration_number": "9876543210", "client_id": "a1b2c3d4-5678-90ab-cdef-1234567890ab", "updated_at": "2025-08-01T14:22:30.000000Z", "created_at": "2025-08-01T14:22:30.000000Z", "id": 42 } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A list of companies
The response is of type object[].
object[]