DataLabel.org OAuth API Access: IAB Tech Lab
This document outlines how to programmatically access the the DataLabel.org API endpoints. You must have a valid IAB Tech Lab login to access the read-only endpoints. Contact datalabel@iabtechlab.com for questions and to request upload access.
Login via OAuth to obtain an access token
POST your credentials to the authorization endpoint to obtain an authorization token.
METHOD: POST URL: https://coreapi.iabtechlab.com/oauth/authorize
FORM PARAMETERS
Form Field | Value |
---|---|
response_type | token |
username | [your username] |
password | [your password] |
redirect_uri | oob |
client_id | datalabel-browser |
The response will be a raw access token. Save this token for use as the authorization bearer token.
Try it out
Utilize your access token to interact with the DataLabel.org API endpoints
Construct a requests to interact with the system for upload and review of segments. The OpenAPI document describes available endpoints
METHOD: GET URL: https://app-api.datalabel.org/api/v1/audience/1 Headers Authorization: Bearer [your access token here ... ]