Provision User API
Method: POST
API Endpoint: https://jiomeetpro.jio.com/api/thirdparty/provision/user
API Request Signature
Request Header
Key | Parameter |
---|---|
app | App name |
authToken | App secret |
Accept | application/json |
content-type | application/json |
Request Body: TYPE JSON
{
"emailId": "user_email",
"mobileNo": "user_mobile",
"name": "user_fname",
"lname": "user_lname"
}
Only one of Mobile number or Email ID is required. If both are provided, mobile number is taken as the primary User ID.
- Mobile Number
- Email ID
- First Name
- Last Name
Sample Code
curl --location 'https://jiomeetpro.jio.com/api/thirdparty/provision/user'
--header 'accept: application/json'
--header 'app: sampleapp'
--header 'Content-Type: application/json'
--header 'Authorization: <auth token goes here>'
--data-raw '{
"emailId": "johndoe@gmail.com",
"mobileNo":"123457890",
"name": "jhon",
"lname": "doe"
}'
API Response
API Response: TYPE JSON string
{
"_id": "user_id_of_host"
}
HTTP Response Codes
Code | Description |
---|---|
200 OK | This is the status code for successful API call. |
300 OK | This is the status code for successful API call. |