API FAQ api-faq
Common API questions and issues.
The REST API documentation contains details about specific methods and code samples.
Why does DIL make event calls with GET and POST methods?
DIL passes data to Audience Manager with a GET
or POST
method based on the length of the query string of the event call. This behavior is built in to GET
and POST
methods by default. It is not specific to Audience Manager.
-
DIL makes event calls with
GET
when a URL contains 2048 characters or less. AGET
event call includes data in the URL as query string parameters, which are passed in as key-value pairs. -
DIL makes event calls with
POST
when a URL contains more than 2048 characters. APOST
event call includes data in the body of the request. DIL puts data into key-value pairs and passes information as form data rather than in the URL query string.
Although each method passes data in a different way, this does not affect functionality. For example, with either method, Audience Manager still sends data to destinations, ID syncs works normally, and you can create traits from data signals.
What do the REST APIs allow me to do?
The REST APIs let you work programmatically with most Audience Manager features and functions that are available in the user interface.
How do I obtain a REST API client ID and secret?
Contact your Partner Solutions representative to obtain API access credentials. Our APIs use OAuth 2.0 standards for token authentication, authorization, and renewal. See OAuth Authentication for more information.