Easyflow API Document
Request
This route allows you to create a tracking pixel linked to your account, with support for Google and Meta platforms. After creation, the pixel must be integrated into your website or application using our official SDK to ensure proper event sending and tracking.
👉 Access the SDK and usage instructions: SDK
An array of event types that the pixel should track. Each item must be one of the predefined event identifiers listed below:
checkout-initialized
purchase-completed
purchase-failed
purchase-btn-clicked
pix-selected
pix-generated
pix-expired
pix-copied
credit-card-form-init
credit-card-selected
credit-card-form-completed
bank-slip-selected
bank-slip-form-completed
address-form-completed
delivery-address-completed
coupon-added
coupon-box-clicked
coupon-form-init
coupon-form-completed
coupon-apply-failed
user-form-init
user-form-completed
pre-checkout-form-init
pre-checkout-form-completed
- Mock serverhttps://docs.easyflow.digital/_mock/openapi/pixels
- Production environment URLhttps://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/pixels
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.easyflow.digital/_mock/openapi/pixels \
-H 'Content-Type: application/json' \
-H 'x-api-key: string' \
-H 'x-api-secret: string' \
-d '{
"name": "string",
"description": "string",
"ownerId": "string",
"externalReferenceId": "string",
"platform": "string",
"code": "string",
"events": [
"string"
],
"metadata": {
"conversion-label": "string"
},
"serverSideMetadata": {
"capi-access-token": "string",
"enable-capi-access-token": "string"
}
}'{ "statusCode": 0, "data": { "pixel": { … } } }
An array of event types that the pixel should track. Each item must be one of the predefined event identifiers listed below:
checkout-initialized
purchase-completed
purchase-failed
purchase-btn-clicked
pix-selected
pix-generated
pix-expired
pix-copied
credit-card-form-init
credit-card-selected
credit-card-form-completed
bank-slip-selected
bank-slip-form-completed
address-form-completed
delivery-address-completed
coupon-added
coupon-box-clicked
coupon-form-init
coupon-form-completed
coupon-apply-failed
user-form-init
user-form-completed
pre-checkout-form-init
pre-checkout-form-completed
- Mock serverhttps://docs.easyflow.digital/_mock/openapi/pixels/{pixelId}
- Production environment URLhttps://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/pixels/{pixelId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.easyflow.digital/_mock/openapi/pixels/{pixelId}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: string' \
-H 'x-api-secret: string' \
-d '{
"name": "string",
"description": "string",
"status": "string",
"platform": "string",
"code": "string",
"events": [
"string"
],
"serverSideMetadata": {
"capi-access-token": "string",
"enable-capi-access-token": "string"
}
}'{ "statusCode": 200, "data": { "updated": true } }
- Mock serverhttps://docs.easyflow.digital/_mock/openapi/pixels/list
- Production environment URLhttps://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/pixels/list
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.easyflow.digital/_mock/openapi/pixels/list?page=string&limit=string&filter%5BownerId%5D=string&filter%5BexternalReferenceId%5D=string&filter%5Bcode%5D=string&filter%5Bplatform%5D=string' \
-H 'x-api-key: string' \
-H 'x-api-secret: string'{ "statusCode": 200, "data": { "pixels": { … } } }