Building with ActionKit
Reference
- Asana
- Azure DevOps
- BambooHR
- Box
- ClickUp
- Confluence
- Facebook Ads
- POSTAds Create Campaign
- POSTAds Update Campaign
- POSTAds Get Campaign By ID
- POSTAds Get Campaigns
- POSTAds Create Ad Set
- POSTAds Update Ad Set
- POSTAds Get Ad Set By ID
- POSTAds Get Ad Sets
- POSTAds Create Ad
- POSTAds Update Ad
- POSTAds Get Ad By ID
- POSTAds Build Ad Creative Object
- POSTAds Create Ad Creative
- POSTAds Create Lead Gen Form
- POSTAds Send Purchase Event
- POSTAds Send Lead Event
- POSTAds Send Funnel Event
- POST
- GitHub
- Gmail
- Google Calendar
- Google Drive
- Google Sheets
- HubSpot
- Jira
- Linear
- Marketo
- Microsoft Outlook
- Microsoft Teams
- Notion
- Salesforce
- Shopify
- Slack
- Stripe
- Trello
- Zendesk
- Zoom
Facebook Ads
Ads Send Purchase Event
POST
/
projects
/
{project_id}
/
actions
/
#FACEBOOK_ADS_SEND_PURCHASE_EVENT
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#FACEBOOK_ADS_SEND_PURCHASE_EVENT' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "FACEBOOK_ADS_SEND_PURCHASE_EVENT",
"parameters": {
"actionSource": "website",
"pixel": "<string>",
"eventTime": "<string>",
"eventId": "<string>",
"eventSourceUrl": "<string>",
"customerEmail": "<string>",
"customerFirstName": "<string>",
"customerLastName": "<string>",
"customerCity": "<string>",
"customerState": "<string>",
"customerCountryCode": "<string>",
"customerExternalId": "<string>",
"customerClientIpAddress": "<string>",
"customerClientUserAgent": "<string>",
"clickId": "<string>",
"browserId": "<string>",
"value": "<string>",
"currency": "<string>",
"contentId": "<string>",
"contentName": "<string>",
"contentCategory": "<string>"
}
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Your Paragon Project ID
Body
application/json
Response
200
Success
Was this page helpful?
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#FACEBOOK_ADS_SEND_PURCHASE_EVENT' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "FACEBOOK_ADS_SEND_PURCHASE_EVENT",
"parameters": {
"actionSource": "website",
"pixel": "<string>",
"eventTime": "<string>",
"eventId": "<string>",
"eventSourceUrl": "<string>",
"customerEmail": "<string>",
"customerFirstName": "<string>",
"customerLastName": "<string>",
"customerCity": "<string>",
"customerState": "<string>",
"customerCountryCode": "<string>",
"customerExternalId": "<string>",
"customerClientIpAddress": "<string>",
"customerClientUserAgent": "<string>",
"clickId": "<string>",
"browserId": "<string>",
"value": "<string>",
"currency": "<string>",
"contentId": "<string>",
"contentName": "<string>",
"contentCategory": "<string>"
}
}'
Assistant
Responses are generated using AI and may contain mistakes.