Authentication
App Builder API
Livechat API
Payment Gateway Plugin
Connect API
- Authentication Overview
- API Reference
- Get Profile
- List Categories
- List Available Apps
- Get App Information
- Connect Account
- Get Connected Account
- Popular Match List
- Popular Match Detail
- Get List Of Tiggers
- Trigger Detail By ID
- Get List Of Actions
- Action Detail By ID
- Create Connect With Popular Match
- List Drop Down Options
- Edit Trigger Options
- Edit Action Option
- Run Test Connect
- Turn On Connect
- Update Connect Name
- Check Connect History
- Connect List
- Turn Off Connect
- Delete Connect
Register App User
Register App User
API handles the process of registering a user with an app so the new users can log in and use the application. This API allows you to create a user account, set the username, email address, and password which the user can use to log in to the app.
You can refer to the sample code provided on the right side of the screen and switch to your preferred language.
API Endpoint
Access the RegisterUser
endpoint to register an app user. To access this API endpoint, login/signup to Appy Pie Developer account and obtain the required AccessToken Key from the Authentication section.
Below is the request URL and the Method is POST:
Request URL
POST https://api.appexecutable.com/V4/webservices/addUser.php
Query Parameters
Parameter Name | Required | Parameter Type | Parameter Description |
---|---|---|---|
method | Yes | String | Method addUser is pre-defined. |
apiKey | Yes | String | API key is unique for a user account on Appy Pie. You can generate your API key from your Appy Pie account. Go to My Apps Backend>Users>User Registration API>Generate Key |
name | Yes | String | Name of the user to be registered |
Yes | String | Email Address of the User | |
password | Yes | String | Password for the User |
phone | Yes | String | Phone Number of the User |
group | No | String | Group to which the user will be added |
passwordType | No | String | Password type if set to MD5 do not encrypt password |
status | No | String | 1 for Active and 0 for Inactive |
Required Parameters are mandatory to access the API endpoint. You cannot remove the optional parameter but you can set the default parameter value to Blank.
Errors
This error section displays all the errors with details.
Following are the error codes that indicate the success or failure of an API request:
Error Code | Meaning |
---|---|
400 | Bad Request -- Your request is invalid. |
401 | Unauthorized -- Your API key is wrong. |
403 | Forbidden -- The method requested is hidden for administrators only. |
404 | Not Found -- The specified method could not be found. |
405 | Method Not Allowed -- You tried to access a method with an invalid method. |
406 | Not Acceptable -- You requested a format that is not json. |
410 | Gone -- Request has been removed from our servers. |
429 | Too Many Requests |
500 | Internal Server Error -- We had a problem with our server. Try again later. |
503 | Service Unavailable -- We are temporarily offline for maintenance. Please try again later. |
2032 | API Key is required |
2034 | Email is required |
2036 | Invalid API Key |
2038 | Provide valid API Key |
2039 | Email already exists |
2040 | Phone already exists |
2041 | Email Invalid |
To authorize, use this code:
1wget --no-check-certificate --quiet \
2 --method POST \
3 --timeout=0 \
4 --header "ACCESSTOKEN: Access Token Key" \
5 --header "Content-Type: application/json" \
6 --body-data
7 '{
8 "method":"addUser",
9 "apiKey":"Your API Key",
10 "name":"Dev",
11 "email":"t***@g***.c*m",
12 "password":"1xxxxxx7",
13 "phone":"9xxxxxxxx4",
14 "group":"",
15 "passwordType":"",
16 "status":"1"
17 }' \
18 "https://api.appexecutable.com/V4/webservices/addUser.php"
RESPONSE
{ "successCode": "200", "message": "Registered successfully" }