Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
REST token request (OAuth 2.0)
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
You can’t perform that action at this time.