Base URL
- Global region:
https://app.sagepilot.ai - Europe region:
https://eu.sagepilot.ai
Setup flow
1
Open API Details
In the Sagepilot dashboard, go to Settings > API Details.
2
Find the legacy workspace key
Locate the legacy workspace API key section. You must be a workspace admin to view or generate this credential.
3
Copy the workspace ID
Copy the workspace ID from Settings > API Details > Channels.
4
Send both headers
Add the legacy API key in
Authorization and the workspace ID in X-SP-Workspace-Id.5
Use only the legacy route
Use this flow only for the existing WhatsApp template-send route.
Required headers
string
required
Bearer token using the legacy workspace API key.
string
required
Workspace ID for the request. Find it in Settings > API Details > Channels. This header is always required for the legacy flow.