Account By Token

Get Connected Account By Token

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 fetch your application connected account.

GET https://developer.appypie.com/api/v2/integrations/user-connected-account/by-token

Parameter NameRequiredParameter TypeParameter Description
tYesStringYour token received at the time of connect account

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 GET \
3	--timeout=0 \
4	--header "ACCESSTOKEN: Access Token Key" \
5	--header "Content-Type: application/json" \
6	--body-data
7	'{
8		"t":"YOUR_TOKEN"
9	 }' \
10	"https://developer.appypie.com/api/v2/integrations/user-connected-account/by-token"

RESPONSE

{
  "success": true,
  "data": {
    "_id": "61dfc1c1***************",
    "appId": "kfc4x2u********************",
    "_created_at": "2022-01-14T07:08:45.154Z",
    "_updated_at": "2022-01-14T07:08:45.154Z",
    "appImage": "f587519f1f449abb2d3d0e7942e486b51600668704724.png",
    "appName": "Connected application name",
    "appUrlName": "App URL name"
  }
}