/segment

How to send Segment using the HTTP API

The HTTP API enables you to send user's segment to Adnuntius Data.

Typically you are recommended to send these events from the user's browser using the Javascript API.

Request object

Data is sent to Adnuntius using a HTTP GET request, with query parameters containing the fields described below.

The requests are sent to the following URL:

https://data.adnuntius.com/segment

If the request is received correctly, an HTTP 200 status code will be returned.

Field Descriptions

NameTypeDescription

segmentId

String

Identification of the segment.

folderId

String

The folder identifier from Adnuntius Data

browserId

String

A unique identifier for the the users browser or app.

Example cURL request

This is a very simple example, using curl, demonstrating how a segment is sent to Adnuntius Data.

curl -H "Content-Type: application/json" https://data.adnuntius.com/segment?segmentId=zxcvbn98765&folderId=00000000000123ab&browserId=123456

Last updated