Developer Documentation
Marketing Automation Platform: Authentication Endpoints
OpenApi Spec here
To access the Marketing API, you must first authenticate. This is done using your client_id
and secret
.
If you do not have a client_id
and secret
, your Client Success Manager can provision them for you. Authentication is done via /oauth/token
endpoint
with HTTP basic auth using your client_id
and secret
.
Example HTTP request
POST https://api.segmint.net/v4/security/oauth/token?grant_type=client_credentials
Authorization: Basic {{encoding}}
Where encoding
is a base64 encoding of your client_id concatenated with a colon concatenated with your secret.
let clientId = 'test_client'
let secret = 'super secret password'
let encoding = Base64.encode(clientId + ":" + secret)