curl --request GET \
--url https://api.hubapi.com/automation/v4/flows/email-campaigns \
--header 'Authorization: Bearer <token>'{
"results": [
{
"emailCampaignId": "<string>",
"emailContentId": "<string>",
"flowId": "<string>"
}
],
"paging": {
"next": {
"after": "<string>",
"link": "<string>"
},
"prev": {
"before": "<string>",
"link": "<string>"
}
}
}「after」、「before」、および「limit」クエリーパラメーターを使用して、任意のページ送りを含めて、自動化フローと関連付けられたEメールキャンペーンのリストを取得します。
curl --request GET \
--url https://api.hubapi.com/automation/v4/flows/email-campaigns \
--header 'Authorization: Bearer <token>'{
"results": [
{
"emailCampaignId": "<string>",
"emailContentId": "<string>",
"flowId": "<string>"
}
],
"paging": {
"next": {
"after": "<string>",
"link": "<string>"
},
"prev": {
"before": "<string>",
"link": "<string>"
}
}
}Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
最後に正常に読み取られたリソースのページ操作カーソルトークンは、より多くの結果を含むページ付きレスポンスのpaging.next.after JSONプロパティーとして返されます。
前のページを取得するためのページ操作カーソルトークン。
関連付けられたフローIDでEメールキャンペーンを絞り込むためのクエリーパラメーター。
ページごとに表示する結果の最大数。