Skip to main content
POST
/
companies
Create company
curl --request POST \
  --url https://portal.yasmina.ai/api/v1/medical/companies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "name_ar": "<string>",
  "sponsor_number": "<string>",
  "email_address": "<string>",
  "phone_number": "<string>",
  "commercial_registration_number": "<string>"
}'
{
  "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
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Name of the company

name_ar
string
required

Arabic name of the company

sponsor_number
string
required

Sponsor number

email_address
string
required

Email address

phone_number
string
required

Phone number

commercial_registration_number
string
required

The registration number of the company

Response

Company created

name
string
name_ar
string
sponsor_number
string
email_address
string
phone_number
string
commercial_registration_number
string
client_id
string
updated_at
string
created_at
string
id
integer
I