Ordexs API v1 Get an API key

Marketing

Add a pixel

POSThttps://api.ordexs.com/v1/pixels

Adds a pixel. A store can have several per provider; default marks the one used where only one is needed. The Conversions API (server) token is a secret and is added in the dashboard only.

Body

  • providerstringRequired

    One of meta, tiktok, google, snapchat, pinterest, custom

  • namestring

    up to 60 characters

  • pixel_idstringRequired

    1–120 characters

  • enabledboolean
  • defaultboolean
  • test_event_codestring or null

    The provider's test code while you check events arrive.

    up to 60 characters

  • configobject

    Provider extras, such as a Google conversion label.

Returns

201 Created · The pixel. Pixel

  • idstring

    starts with pix_

  • objectstring

    always "pixel"

  • providerstring
  • namestring
  • pixel_idstring or null
  • enabledboolean
  • defaultboolean
  • test_event_codestring or null
  • configobject
  • has_server_tokenboolean

    Whether a Conversions API token was set in the dashboard. The token itself is never returned.

  • last_event_atstring or null

    ISO 8601 date-time, UTC

  • last_errorstring or null
  • created_atstring

    ISO 8601 date-time, UTC

  • updated_atstring

    ISO 8601 date-time, UTC

Errors

Every error has the same shape. This endpoint can answer with: