Skip to main content

Create

This endpoint allows integrators register their users into MeetingDoctors' platform in order to authenticate them to the SDKs.

Request

POST https://customer.staging.meetingdoctors.com/api/v3/pendingCompanyUsers

Headers

NameValue
apiKeyIntegration identifier provided by MeetingDoctors
secretKeySecurity key provided by MeetingDoctors to securize server-to-server communications
Content-Typeapplication/json
Acceptapplication/json

Request body

Parameters

NameRequiredTypeValue
tokenTrueStringYour user unique identifier
statusTrueNumeric0: Free, 2: Premium, 3: No Access
emailFalseStringA valid email
nid_numberFalseStringA valid dni or nie
firstnameFalseStringUser's first name
lastnameFalseStringUser's last name
genderFalseNumeric0:Male, 1:Female
birthdateFalseDateISO8601 Date (YYYY-MM-DD)
descriptionFalseStringExtra user information provided by integrator
has_video_callFalseNumeric0:Disabled, 1:Enabled
has_video_call_1to1FalseNumeric0:Disabled, 1:Enabled
company_group_codeFalseStringCode key that will be provided by MeetingDoctors

Example

{
"token": "12345678Z",
"email": "soporte@meetingdoctors.com",
"nid_number": "12345678Z",
"firstname": "Soporte",
"lastname": "MeetingDoctors",
"status": 2,
"gender": 0,
"birthdate": "1990-01-01",
"description": "",
"has_video_call": 1,
"has_video_call_1to1": 1,
"company_group_code": ""
}