Connect App Account

Connect App Account

The most common use case of the Connect API will be providing a service, or access to a platform through the OAuth2 API.

Authorization: Bearer YOUR_ACCESS_TOKEN (eyJhbG*************)

Access the API using access token

It will help you to connect your preferred application account. 

authType can only be: O_AUTH_V2, API_KEY, BASIC_AUTH

POST https://developer.appypie.com/api/v2/integrations/integrate-account/{authType}/{appId}/{seoLink}

Parameter NameRequiredParameter TypeParameter Description
appypie-partner-cbYesStringYour registered Callback URL

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.
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		"appypie-partner-cb":"YOUR_CALLBACK_URL"
9	 }' \
10	"https://developer.appypie.com/api/v2/integrations/integrate-account/{authType}/{appId}/{seoLink}"

RESPONSE

{
  "success": true,
  "data": {
    "url": "https://developer.appypie.com/app-redirect/add-account/splash/5f6844c*******************************AwaW8ifQ=="
  }
}