Retrieve a contact's goals

The automation goals this contact has reached, one entry per goal reached in one automation run. goal is the goal id, automation the automation id, and contactAutomation the id of the run (an entry of GET /contacts/{id}/contactAutomations). Every entry comes back in one response: limit and offset are ignored on this path. Returns 404 if the contact does not exist.

{
    "contactGoals": [
        {
            "goalid": "3",
            "seriesid": "2",
            "subscriberid": "5",
            "subscriberseriesid": "83",
            "timespan": "1",
            "tstamp": "2021-05-12T14:55:19-05:00",
            "links": {
                "goal": "https://:account.api-us1.com/api/3/contactGoals/3/goal",
                "automation": "https://:account.api-us1.com/api/3/contactGoals/3/automation",
                "contact": "https://:account.api-us1.com/api/3/contactGoals/3/contact",
                "contactAutomation": "https://:account.api-us1.com/api/3/contactGoals/3/contactAutomation",
                "contactGoalLists": "https://:account.api-us1.com/api/3/contactGoals/3/contactGoalLists",
                "contactGoalTags": "https://:account.api-us1.com/api/3/contactGoals/3/contactGoalTags"
            },
            "id": "3",
            "goal": "3",
            "automation": "2",
            "contact": "5",
            "contactAutomation": "83"
        }
    ]
}
Path Params
int32
required

ID of the contact

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Choose an example:
application/json