Base URL
Query Parameters
| Parameter | Description | Example |
|---|---|---|
firstMessage | The prompt you want Endgame to answer (URL-encoded) | firstMessage=what's+the+latest+in+my+book |
accountId | The Salesforce Account ID you want the thread scoped to | accountId=0015f00000ABC123 |
Examples
Free-form prompt:
Using a skill:
You can use a skill by specifying that skill by name in the first message along with any variables that the skill needs to run. Run a book level skillA note on URL encoding
Prompts need to be URL-encoded (e.g., spaces become+ or %20). This is standard web behavior, not Endgame-specific. See MDN’s guide to URL encoding for more detail.