Skip to content
Website API / Goals

Recent goal completions

GEThttps://<your Reveata origin>/api/v1/websites/{website}/goal-completions

Goal completions newest first (last 30 days), each with a stable id, the page and the traffic source. For polling integrations such as Zapier and Make.

Related: Goals report and Goals over time in Goals.

Try in playground

Request

Path parameters

websitestringrequired

Website id or domain, e.g. example.com

1–253 characters

Query parameters

goalstringoptional

Pattern: ^[a-z0-9][a-z0-9_:-]{0,63}$

limitintegeroptional

1 to 100 · Default: 50

sincestring (date-time)optional

Headers

Authorizationstringrequired

Bearer followed by a site key, an account token or an OAuth access token with the goals:read scope.

Response

Completions.

{
  "status": "string",
  "data": [
    {
      "id": "string",
      "goal": "string",
      "completedAt": "2026-01-01T00:00:00.000Z",
      "visitorId": "string",
      "sessionId": "string",
      "path": "string",
      "hostname": "string",
      "channel": "direct",
      "source": "string",
      "referrerHost": "string",
      "utmSource": "string",
      "utmMedium": "string",
      "utmCampaign": "string",
      "country": "string",
      "city": "string",
      "device": "string",
      "props": "string"
    }
  ]
}

Response fields

FieldTypeDescription
status"ok"
dataobject[]
data[].idstring
data[].goalstring
data[].completedAtstring (date-time)
data[].visitorIdstring | null | null
data[].sessionIdstring | null | null
data[].pathstring | null | null
data[].hostnamestring | null | null
data[].channelstring | null | null
data[].sourcestring | null | null
data[].referrerHoststring | null | null
data[].utmSourcestring | null | null
data[].utmMediumstring | null | null
data[].utmCampaignstring | null | null
data[].countrystring | null | null
data[].citystring | null | null
data[].devicestring | null | null
data[].propsobject<string, string>