List pixels

GET/pixels/list

Returns a list of pixels.

Headers

  • x-api-keystringrequired

    Api key provided on integrations tab in Easyflow platform.

  • x-api-secretstringrequired

    Api Secret provided on integrations tab in Easyflow platform.

Query parameters

  • pageinteger

    Page number. Defaults to 1.

    Default:1

  • limitinteger

    Number of items per page. Defaults to 20.

    Default:20

  • filter[ownerId]stringrequired
  • filter[externalReferenceId]string
  • filter[code]string
  • filter[platform]string

    Possible values:googlemetatiktokgtm

  • filter[events][]array of strings

    Returns pixels that track at least one of these events. Repeat the parameter to send more than one value.

    Possible values:checkout-initializedpurchase-completedpurchase-failedpurchase-btn-clickedpix-selectedpix-generatedpix-expiredpix-copiedcredit-card-form-initcredit-card-selectedcredit-card-form-completedbank-slip-selectedbank-slip-form-completedaddress-form-completeddelivery-address-completedcoupon-addedcoupon-box-clickedcoupon-form-initcoupon-form-completedcoupon-apply-faileduser-form-inituser-form-completedpre-checkout-form-initpre-checkout-form-completed

Responses

200Returns a list of pixels.

Returns a list of pixels.

Content typeapplication/jsonobject

  • statusCodeinteger

    Example:200

  • dataobject
    Show child attributesHide child attributes
    • pixelsobject
      Show child attributesHide child attributes
      • docsarray of objects
        Show child attributesHide child attributes
        • idstring
        • createdAtstring
        • platformstring

          Platform of the pixel. A pixel created by Easyflow can bring a value outside this list, so accept unknown values.

          Possible values:googlemetatiktokgtm

        • statusstring

          Possible values:activeinactive

        • codestring
        • namestring
      • limitinteger
      • currentPageinteger
      • hasNextboolean
      • nextPageintegernullable
      • totalDocsinteger
      • totalPagesinteger
400If the provided parameter is invalid, the API will return the following error response:

If the provided parameter is invalid, the API will return the following error response:

Content typeapplication/jsonobject

  • messagestring

    Invalid param: []

    Example:Invalid param: []

  • errorstring

    Bad Request

    Example:Bad Request

  • statusCodeinteger

    400

    Example:400

  • errorCodestring

    Code that identifies the error. Present only on some errors.

401If the request is unauthorized, the API will return the following error response:

If the request is unauthorized, the API will return the following error response:

Content typeapplication/jsonobject

  • messagestring

    Invalid field

    Example:Unauthorized

  • errorstring

    Unauthorized

    Example:Unauthorized

  • statusCodeinteger

    401

    Example:401

403If the request is forbidden, the API will return the following error response:

If the request is forbidden, the API will return the following error response:

Content typeapplication/jsonobject

  • messagestring

    Forbidden resource

    Example:Forbidden resource

  • errorstring

    Forbidden

    Example:Forbidden

  • statusCodeinteger

    403

    Example:403

500If an unexpected condition occurs and the server cannot process the request, the API will return the following error response. This response has no error field.

If an unexpected condition occurs and the server cannot process the request, the API will return the following error response. This response has no error field.

Content typeapplication/jsonobject

  • statusCodeinteger

    HTTP status code.

    Example:500

  • messagestring

    Explanation of the error.

    Example:Internal Server Error