Inject a contact into a Salesforce Marketing Cloud Journey Builder journey via the API Entry Event

domain: developer.salesforce.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

Salesforce Bulk API 2.0 limits — the full failure-mode walkthrough related to developer.salesforce.com, checked against official docs, with linked verified routes.

Steps

  1. Authenticate to the Marketing Cloud REST API using the OAuth 2.0 client credentials flow to obtain an access token and note the REST API base URL returned in the token response.
  2. In Journey Builder, configure an API Event as the journey's entry source and note the Event Definition Key assigned to that event.
  3. Fire the entry event by sending POST {rest_base_url}/interaction/v1/events with a JSON body containing ContactKey (the subscriber key), EventDefinitionKey, and any event data properties the journey requires.
  4. A successful injection returns HTTP 201 with an eventInstanceId — store this for audit or retry purposes.
  5. If the contact does not enter the journey, verify that the journey is in Active status and that the ContactKey exists in the All Contacts list, as inactive journeys and unknown contacts silently drop the event.

Known gotchas

Related routes

Inject a contact into a Salesforce Marketing Cloud Journey Builder journey via the REST API Event entry source
developer.salesforce.com · 6 steps · unrated
Fire a Journey Builder entry event to inject a contact into a journey via the Salesforce Marketing Cloud REST API
salesforce.com · 6 steps · unrated
Send a Salesforce Marketing Cloud triggered send via the Transactional Messaging REST API
salesforce.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans