Create Event
Tracks a conversion or engagement event for an account.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"action_source": "website",
"app_build_id": "apbu_xxxxxxxxxxxxx",
"app_id": "app_xxxxxxxxxxxxxx",
"context": {
"ad_campaign_id": "23851234567890123",
"ad_id": "23851234567890125",
"ad_set_id": "23851234567890124",
"fbc": "fb.1.xxxxxxxxxx.IwAR0shine",
"fbclid": "IwAR0shineTimeAutoDetailing",
"fbp": "fb.1.xxxxxxxxxx.xxxxxxxxxx",
"fingerprint": "fp_4d19c7",
"fingerprint_confidence": 6.9,
"ga": "GA1.1.xxxxxxxxxx.xxxxxxxxxx",
"gbraid": "0AAAAA-shinetime",
"gclid": "Cj0KCQiAshinetime",
"ig_sid": "ig_shinetime_1",
"ip_address": "1.2.3.4",
"language": "en-US",
"li_fat_id": "lifat-shinetime",
"msclkid": "a1b2c3d4shine",
"rdt_cid": "t2_shinetime",
"sc": "BDFB1C71",
"sccid": "sccid-shinetime",
"screen_resolution": "390x844",
"timezone": "America/Chicago",
"ttclid": "E.C.P.ttclid.shine",
"ttp": "2ShineTimeTtp",
"twclid": "twclid-shinetime",
"user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15",
"utm_campaign": "ceramic-coating-spring",
"utm_content": "carousel-a",
"utm_id": "utm_88213",
"utm_medium": "cpc",
"utm_source": "google",
"utm_term": "ceramic coating austin",
"wbraid": "Cj0KCQjw-wbraid-shine"
},
"currency": "usd",
"custom_name": "coating_deposit_paid",
"duration": 42,
"event_id": "evnt_xxxxxxxxxxxxx",
"event_name": "coating_deposit_paid",
"event_time": "2023-12-01T05:00:00.401Z",
"plan_id": "plan_xxxxxxxxxxxxx",
"product_id": "prod_xxxxxxxxxxxxx",
"referrer_url": "https://www.google.com/",
"source": "website",
"title": "Ceramic coating quote request",
"url": "https://shinetime.example/quote",
"user": {
"anonymous_id": "anon_8f2c41",
"birthdate": "1990-01-15",
"city": "Austin",
"country": "US",
"email": "marcus@shinetime.example",
"external_id": "crm_8842",
"first_name": "Dana",
"gender": "female",
"last_name": "Whitfield",
"linked_anonymous_id": "anon_1b9de0",
"linked_wuid": "user_xxxxxxxxxxxxxx",
"member_id": "mber_xxxxxxxxxxxxx",
"membership_id": "mem_xxxxxxxxxxxxxx",
"name": "Dana Whitfield",
"phone": "+xxxxxxxxxxx",
"postal_code": "78756",
"state": "TX",
"user_id": "user_xxxxxxxxxxxxx",
"username": "danawhitfield"
},
"value": 6.9
}Response
event created
Example response
{
"id": "evnt_xxxxxxxxxxxxxx"
}Changes
Changed in 4 of the 74 revisions of this API.95
- ○
added the new optional request property
/new-optional-request-property
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
This revision also has 42 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ▲
removed the enum value
add_to_cartof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
complete_registrationof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
contactof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
customof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
leadof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
pageof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
scheduleof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
submit_applicationof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
view_contentof the request propertyrequest-property-enum-value-removed
- ○
added the new optional
headerrequest parameterIdempotency-Keynew-optional-request-parameter
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 74 revisions, 1 has no diff computed.