Base URL: https://t.makehook.ws/
Nitrox Specific Values
org_id: (nitro.ORG_ID)
roaming_id: (nitro.ROAMING_ID)
nitro_id: (nitro.NTRO_ID)
nitrox_id: (nitro.NITROX_ID)
/jsv1/identify/<org_id>/<roaming_id>/<nitro_id>/<payload>
Method: GET
Description: Identifies a visitor by processing a payload containing visitor data such as phone, email, and name. The visitor's geographical location is also determined using the IP address.
Query Parameters:
org_id
: Organization identifier.roaming_id
: Roaming identifier.nitro_id
: Unique identifier for the visitor.payload
: Base64 encoded JSON object containing visitor details such as email, phone, and name.Response:
nitro_id
or Payload ErrorExample Payload: JSON object containing user information and this should converted in base64.
{
"email": "[email protected]",
"phone": "+919650887440",
"name": "Test User"
}
Example Request:
GET https://t.makehook.ws/jsv1/identify/34a3f9a2-5057-431b-bd3f-aa9fdf9ff733/biscuit_4c6e224d-96f6-430c-bfc4-d41ec31e38a4/de8daa44-ac2e-4ba2-8e1c-987a06817353/eyJzb3VyY2UiOiJncmsgdGVzdCIsInBob25lIjoiMzg0NTY3ODkwMDEiLCJuYW1lIjoiVmlzaXRvciBFbW9yY3kifQ==
/jsv1/<org_id>/<roaming_id>/<nitro_id>/<nitrox_id>/event/view
Method: POST
, GET
Description: Tracks a page view event (e.g., a visitor viewing a product or page).
Request Body: JSON object containing page information.
{
"page": "https://someurl.com"
}
Response:
Example Request:
POST https://t.makehook.ws/jsv1/34a3f9a2-5057-431b-bd3f-aa9fdf9ff733/biscuit_4c6e224d-96f6-430c-bfc4-d41ec31e38a4/de8daa44-ac2e-4ba2-8e1c-987a06817353/null/event/view
/jsv1/<org_id>/<roaming_id>/<nitro_id>/<nitrox_id>/event/updatecart
Method: POST
Description: Tracks an "Add to Cart" event when an item is added to the cart.
Request Body: JSON object containing details of the items added to the cart.
{
"cart_url": "https://someurl.com",
"product_id": 123456,
"line_items": [
{
"quantity": 1,
"title": "Black Box",
"line_price": 24.00,
"id": "987654",
"product_id": 1234567,
"image_url": "https://someurl.com/image1.jpg"
}
],
"cart_value": 24.00
}
Response:
Example Request:
POST https://t.makehook.ws/jsv1/34a3f9a2-5057-431b-bd3f-aa9fdf9ff733/biscuit_4c6e224d-96f6-430c-bfc4-d41ec31e38a4/de8daa44-ac2e-4ba2-8e1c-987a06817353/null/event/updatecart
/jsv1/<org_id>/<roaming_id>/<nitro_id>/<nitrox_id>/event/removefromcart
Method: POST
Description: Tracks a "Remove from Cart" event when an item is removed from the cart.
Request Body: JSON object containing details of the items removed from the cart.
{
"cart_url": "https://someurl.com",
"product_id": 123456,
"line_items": [
{
"quantity": 1,
"title": "Black Box",
"line_price": 24.00,
"id": "987654",
"product_id": 1234567,
"image_url": "https://someurl.com/image1.jpg"
}
],
"cart_value": 20.00
}
Response:
Example Request:
POST https://t.makehook.ws/jsv1/34a3f9a2-5057-431b-bd3f-aa9fdf9ff733/biscuit_4c6e224d-96f6-430c-bfc4-d41ec31e38a4/de8daa44-ac2e-4ba2-8e1c-987a06817353/null/event/removefromcart
/jsv1/<org_id>/<roaming_id>/<nitro_id>/<nitrox_id>/event/checkout
Method: POST
Description: Tracks a checkout event when a user proceeds with the checkout.
Request Body: JSON object containing checkout information.
{
"checkout": "https://someurl.com/checkout",
"items": [
{
"product_id": 12345,
"price": 12.00,
"product_url": "https://someurl.com/product_id"
},
{
"product_id": 12346,
"price": 18.00,
"product_url": "https://someurl.com/product_id"
}
],
"cart_value": 30.00
}
Response:
Example Request:
POST https://t.makehook.ws/jsv1/34a3f9a2-5057-431b-bd3f-aa9fdf9ff733/biscuit_4c6e224d-96f6-430c-bfc4-d41ec31e38a4/de8daa44-ac2e-4ba2-8e1c-987a06817353/null/event/checkout
/jsv1/<org_id>/<roaming_id>/<nitro_id>/<nitrox_id>/event/buy
Method: POST
Description: Tracks a purchase event when a user completes a transaction.
Request Body: JSON object containing purchase details.
{
"checkout_url": "https://someurl.com/checkout",
"order_id": "1231312312312",
"items": [
{
"product_id": 12345,
"price": 12.00,
"product_url": "https://someurl.com/product_id"
},
{
"product_id": 12346,
"price": 12.00,
"product_url": "https://someurl.com/product_id"
}
]
}
Response:
Example Request:
POST https://t.makehook.ws/jsv1/34a3f9a2-5057-431b-bd3f-aa9fdf9ff733/biscuit_4c6e224d-96f6-430c-bfc4-d41ec31e38a4/de8daa44-ac2e-4ba2-8e1c-987a06817353/null/event/buy
/jsv1/<org_id>/<roaming_id>/<nitro_id>/<nitrox_id>/event/productview
Method: POST
Description: Tracks a product view event when a user views a product page.
Request Body: JSON object containing product details.
{
"product_id": 12345,
"price": 12.00,
"product_url": "https://someurl.com/product_id"
}
Response:
Example Request:
POST https://t.makehook.ws/jsv1/34a3f9a2-5057-431b-bd3f-aa9fdf9ff733/biscuit_4c6e224d-96f6-430c-bfc4-d41ec31e38a4/de8daa44-ac2e-4ba2-8e1c-987a06817353/null/event/productview
/jsv1/<org_id>/<roaming_id>/<nitro_id>/<nitrox_id>/event/categoryview
Method: POST
Description: Tracks a category view event when a user views a product category.
Request Body: JSON object containing category information.
{
"category": "fashion"
}
Response:
Example Request:
POST https://t.makehook.ws/jsv1/34a3f9a2-5057-431b-bd3f-aa9fdf9ff733/biscuit_4c6e224d-96f6-430c-bfc4-d41ec31e38a4/de8daa44-ac2e-4ba2-8e1c-987a06817353/null/event/categoryview
nitro_id
or Payload Error