PixelJoy's REST APIs

Authenticate

Authenticate a user

Endpoint

POST api/v1/authenticate

Required parameters
  • api_token  - Your api secret key.
curl -X POST https://pixeljoyapp.com/api/v1/authenticate?api_token= \ -H 'Content-Type: application/json'

User Data

Get a user's data

Endpoint

POST api/v1/userdata

Required parameters
  • api_token  - Your api secret key.
curl -X POST https://pixeljoyapp.com/api/v1/userdata?api_token= \ -H 'Content-Type: application/json'

Shorten URL

Shorten any URL

Endpoint

POST api/v1/shortenurl

Required parameters
  • api_token  - Your api secret key.
  • url  - Your api secret key.
  • domain_id  - Your api secret key.
Optional parameters
  • cta_id  - Attach the URL to a CTA by including the ID of the CTA.
  • utm_id  - Attach the URL to a UTM by including the ID of the UTM.
  • link_title  - Add a title for the link.
  • pixels  - Attach Pixels to link (in Array).
  • tags  - Attach tags to link (in Array).
curl -X POST https://pixeljoyapp.com/api/v1/shortenurl?api_token= \ -H 'Content-Type: application/json \' -d '{ \ 'url': '',\ 'domain_id': '5',\ }'

Set Account

Set a sub account

Endpoint

POST api/v1/setaccount

Required parameters
  • api_token  - Your api secret key.
  • current_account_id  - Your current account ID.
curl -X POST https://pixeljoyapp.com/api/v1/setaccount?api_token= \ -H 'Content-Type: application/json \' -d '{ \ 'current_account_id': '1,\ }'

Get All Domains

Get all domain of a current account

Endpoint

GET api/v1/domains

Required parameters
  • api_token  - Your api secret key.
curl -X GET https://pixeljoyapp.com/api/v1/domains?api_token= \ -H 'Content-Type: application/json \'

Get All CTAs (Form Type)

Get all ctas(Form Type) of a current account

Endpoint

GET api/v1/ctas

Required parameters
  • api_token  - Your api secret key.
curl -X GET https://pixeljoyapp.com/api/v1/ctas?api_token= \ -H 'Content-Type: application/json \'

Get All CTA Email Lists

Get all cta email lists

Endpoint

GET api/v1/cta_emails

Required parameters
  • api_token  - Your api secret key.
  • cta_id  - CTA ID.
curl -X GET https://pixeljoyapp.com/api/v1/cta_emails?api_token=&cta_id= \ -H 'Content-Type: application/json \'

Get All Pixels List

Get all pixel lists of a current account

Endpoint

GET api/v1/pixels

Required parameters
  • api_token  - Your api secret key.
curl -X GET https://pixeljoyapp.com/api/v1/pixels?api_token= \ -H 'Content-Type: application/json \'

Get All UTM Lists

Get all UTM list of a current account

Endpoint

GET api/v1/utms

Required parameters
  • api_token  - Your api secret key.
curl -X GET https://pixeljoyapp.com/api/v1/utms?api_token= \ -H 'Content-Type: application/json \'

Get All Tags

Get the list of all tags

Endpoint

GET api/v1/tags

Required parameters
  • api_token  - Your api secret key.
curl -X GET https://pixeljoyapp.com/api/v1/tags?api_token= \ -H 'Content-Type: application/json \'

Get All CTAs

Get the list of all current account CTA

Endpoint

GET api/v1/current_ctas

Required parameters
  • api_token  - Your api secret key.
curl -X GET https://pixeljoyapp.com/api/v1/current_ctas?api_token= \ -H 'Content-Type: application/json \'