go to home

Developer Documentation

Segmint Data Services API: Authentication Endpoints

To access the Data Services API, you must first authenticate. This is done using your username and password. If you do not have a username and password, your Client Success Manager can provision them for you. Authentication is done via /auth/v1/token endpoint with HTTP basic auth using your client_id and secret.

Example HTTP request

POST https://dataservices-stage.segmint.net/auth/v1/token
Authorization: Basic  {{encoding}}

Where encoding is a base64 encoding of your client_id concatenated with a colon concatenated with your secret.

let username = 'test_username'
let password = 'super secret password'
let encoding = Base64.encode(username + ":" + password)

OpenAPI

OpenAPI Spec here