Appy Pie APIs Authentication Methods - API Key Authentication

Authentication

Appy Pie APIs require users to authenticate themselves to access information in our database. This is done with the use of the Access Token Key. The Access Token Key serves as a way to identify the person making the API call, thereby authenticating you to use the API.

Before you can make requests with AppyPie APIs, you will need Access Token Key. To obtain your Access Token Key, you need to login/sign up to Appy Pie Developer account. Once you’ve logged in to your account, your Access Token will be generated and displayed in the below API section. 

You can also generate a new Access Token Key using the Token Key and Secret Key. To generate the Access Toke key, pass the Token Key and Secret Key in the URL’s parameter with POST as the request method.

Do not share or publish the Access Token Key.

To generate a new access token key, Please use the Request URL and right side process.

POST https://openapi2.appypie.com/create-refresh-token

Parameter NameRequiredParameter TypeParameter Description
tokenKeyYesStringToken Key is pre-defined.
secretKeyYesStringSecret Key is pre-defined.
To generate a new access token key, follow the right side process:

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 CodeMeaning
400Bad Request -- Your request is invalid.
401Unauthorized -- Your API key is wrong.
403Forbidden -- The method requested is hidden for administrators only.
404Not Found -- The specified method could not be found.
405Method Not Allowed -- You tried to access a method with an invalid method.
406Not Acceptable -- You requested a format that is not json.
410Gone -- Request has been removed from our servers.
429Too Many Requests
500Internal Server Error -- We had a problem with our server. Try again later.
503Service Unavailable -- We are temporarily offline for maintenance. Please try again later.
2032API Key is required
2034Email is required
2036Invalid API Key
2038Provide valid API Key
2039Email already exists
2040Phone already exists
2041Email 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		"tokenKey":"TOKEN_KEY",
9		"secretKey":"SECRET_KEY"
10	 }' \
11	"https://openapi2.appypie.com/create-refresh-token"

RESPONSE

{
  "status": "1",
  "accessToken": ACCESS_TOKEN
}