Get all goals of a campaign

Changed on
get/accounts/{account_id}/campaigns/{campaign_id}/goals

Request

  • Base URL
    https://app.wingify.com/api/v2
  • URL
    https://app.wingify.com/api/v2/accounts/{account_id}/campaigns/{campaign_id}/goals
  • Auth
    API key in header token

Path parameters

account_idstring required

Use 'current' keyword to refer to the Main Workspace or the Integer Workspace Id

campaign_idinteger required

Campaign Id

Response

200

Example response

{
  "_data": [
    {
      "id": 2,
      "isPrimary": true,
      "name": "Goal 2",
      "urls": [
        {
          "type": "url",
          "value": "http://wingify.com"
        }
      ],
      "type": "visitPage"
    }
  ]
}

Changes