Request SFMC Token

POST https://{{et_subdomain}}.auth.marketingcloudapis.com/v2/token

https://developer.salesforce.com/docs/atlas.en-us.mc-app-development.meta/mc-app-development/access-token-s2s.htm

When the access token expires, your application must request a new access token using the same v2/token route as before. The lifetime of an access token is 20 minutes.

Request Body

{"grant_type"=>"client_credentials", "client_id"=>"{{et_clientId}}", "client_secret"=>"{{et_clientSecret}}", "account_id"=>"{{et_mid}}"}

RESPONSES

status: OK

{"access_token":"SECRET_TOKEN_GOES_HERE","token_type":"Bearer","expires_in":1079,"scope":"offline documents_and_images_read documents_and_images_write saved_content_read saved_content_write automations_execute automations_read automations_write journeys_execute journeys_read journeys_write email_read email_send email_write push_read push_send push_write sms_read sms_send sms_write social_post social_publish social_read social_write web_publish web_read web_write audiences_read audiences_write list_and_subscribers_read list_and_subscribers_write data_extensions_read data_extensions_write file_locations_read file_locations_write tracking_events_read calendar_read calendar_write campaign_read campaign_write accounts_read accounts_write users_read users_write webhooks_read webhooks_write workflows_write approvals_write tags_write approvals_read tags_read workflows_read ott_chat_messaging_read ott_chat_messaging_send ott_channels_read ott_channels_write marketing_cloud_connect_read marketing_cloud_connect_write marketing_cloud_connect_send event_notification_callback_create event_notification_callback_read event_notification_callback_update event_notification_callback_delete event_notification_subscription_create event_notification_subscription_read event_notification_subscription_update event_notification_subscription_delete","soap_instance_url":"https://mcmtwjynv76zg4b73149z7yzw5mm.soap.marketingcloudapis.com/","rest_instance_url":"https://mcmtwjynv76zg4b73149z7yzw5mm.rest.marketingcloudapis.com/"}