sepahr
  1. Users
sepahr
  • profile
    • Providers
      • Increment provider page view count
      • getProviderNotifyCell
      • Update provider fields
      • Store a provider
      • get providers information
    • Users
      • get image
        GET
      • upload image
        POST
      • Get doctor master slug
        GET
      • insert new user
        POST
      • get users informations
        GET
      • get user information
        GET
      • update user information
        PATCH
      • send otp to verify user new cell
        PATCH
    • Memberships
      • deleteMembership
      • Insert membership record
      • Get membership records
    • Providers Specialities
      • delete a record of providers specialities
      • Update speciality alongside academic degree of a provider
      • Store list of specialities alongside academic degree for a provider
      • Get list of provider's specialities
    • SpecialitiesTags
      • tags of spciality
  • sepahr
    • anonymous call
      POST
    • calls search
      POST
    • Download Call Recording
      POST
  1. Users

insert new user

POST
/v1/users
Users
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://apigw.paziresh24.com/v1/users' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": {},
    "name": {},
    "family": {},
    "national_code": {},
    "city_id": {},
    "province_id": {},
    "gender": {},
    "sso_id": {},
    "cell": {}
}'
Response Response Example
{
    "users": [
        {
            "id": {},
            "name": {},
            "family": {},
            "gender": {},
            "sso_id": {},
            "cell": "913000000",
            "national_code": "124666554"
        }
    ]
}

Request

Body Params application/json
id
object 
optional
name
object 
optional
family
object 
optional
national_code
object 
optional
city_id
object 
optional
province_id
object 
optional
gender
object 
optional
sso_id
object 
optional
cell
object 
optional
Examples

Responses

🟢200Get Inserted user information
application/json
Body
users
array[object (authenticated_user) {7}] 
optional
id
object 
optional
name
object 
optional
family
object 
optional
gender
object 
optional
sso_id
object 
optional
cell
string  | null 
optional
cell of the user
Example:
913000000
national_code
string  | null 
optional
national_code of the user
Example:
124666554
Modified at 2024-06-23 07:51:49
Previous
Get doctor master slug
Next
get users informations
Built with