Saltar al contenido principal
GET
/
email
/
public
/
v1
/
campaigns
/
by-id
Get all campaign IDs for an account
curl --request GET \
  --url https://api.hubapi.com/email/public/v1/campaigns/by-id
{
  "hasMore": true,
  "offset": "<string>",
  "campaigns": [
    {
      "id": 123,
      "appId": 123,
      "appName": "<string>"
    }
  ]
}

Parámetros de consulta

offset
string

A key representing which page of results you would like

limit
integer

Limit the maximum number of results you would like returned.

Respuesta

Campaign IDs retrieved successfully

hasMore
boolean
requerido

Whether there are more results available

offset
string
requerido

Offset token for pagination

campaigns
object[]
requerido
Última modificación el 11 de junio de 2026