POST
/
meta
/
get_custom_conversions
Get Custom Conversions
curl --request POST \
  --url https://public.plai.io/meta/get_custom_conversions \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "userId": "<string>",
  "pixelId": "<string>",
  "campaignType": "<string>"
}'
{
  "success": true,
  "results": {
    "success": true,
    "customConversions": [
      {
        "name": "<string>",
        "value": "<string>",
        "is_custom_event": true
      }
    ],
    "error": "<string>"
  }
}

Request Body

userId
string
required
User ID, If not already created, make a user on create user page first. If already created, retrieve the user ID from get profile page.
pixelId
string
required
Facebook Pixel ID, you can get the pixel id from here
campaignType
string
required
Campaign Type, Supported values are: CONVERSIONS, OUTCOME_SALES

Response

success
boolean
Indicates that the HTTP response was successful (status code 200 OK).
results
object