« Back to Documentation Overview

get_goal

Section: Goals
Version: 1.5.0


Get single goal using GOAL_ID.


Parameters
stringAPI_KEY
object
stringlinkGOAL_ID
Return Value
objectGOAL_ID
stringprofileGoals on my page
stringdomainmyhomepage.com
stringnameMy shop
stringurlhttp://myhomepage.com/shop

Example Request JSON

[
    "API_KEY",
    {
        "link": "GOAL_ID"
    }
]

Example Response JSON

{
    "GOAL_ID": {
        "profile": "Goals on my page",
        "domain": "myhomepage.com",
        "name": "My shop",
        "url": "http:\/\/myhomepage.com\/shop"
    }
}
API-wide Errors
API key verification failed API key verification failed
API client IP not allowed API client IP not allowed
Invalid params Attribute params must be reference to hash