Last active
March 12, 2019 16:33
-
-
Save wvpv/88851d62a26a2ce554cbdb8b67cdb617 to your computer and use it in GitHub Desktop.
REST token request (OAuth 2.0)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /v2/token HTTP/1.1 | |
Host: YOURENDPOINT.auth.marketingcloudapis.com | |
Content-Type: application/json | |
cache-control: no-cache | |
{ | |
"grant_type": "client_credentials", | |
"client_id": "YOURCLIENTID", | |
"client_secret": "YOURCLIENTSECRET", | |
"scope": "email_read email_write email_send data_extensions_read data_extensions_write", | |
"account_id": "YOURMID" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment