Client MCP, API, Webhooks
Use MCP to check orders or send a brief from ChatGPT or Claude. Use the API if you’re building your own integration.
Connect ChatGPT or Claude
In your agency’s client portal, open your profile and choose ChatGPT & Claude → Connect.
Click Copy setup prompt and paste it into ChatGPT or Claude.
Sign in to your portal when it opens and approve access. Try asking, “What’s the status of my latest order?”
Your AI app can access the same orders you can see in the portal. Disconnect it any time from AI connections in your profile. If the Connect button is missing, ask your agency to enable client MCP.
Connect your integration to the API
In your portal profile, go to API tokens → Manage and create a client API token. Copy it when it appears. If you don’t see API tokens, ask your agency to turn on client API access.
Give your coding agent this prompt. It uses the shared Client API reference for endpoint details and your agency’s workspace URL for API calls.
Help me build an integration with my agency’s client portal.
Read the shared API spec at https://portal.wayfront.com/client-api.yaml
Ask me for my agency’s workspace URL (the address I use to
sign in to the client portal) and what I want to automate.
Guide me to a credential field that keeps my client API token
out of your context. If there’s no secure field, show me where
to enter it in the integration’s secret store. Keep it out of
chat and logs.
Send API requests with the bearer token only to the workspace
URL I give you. Check with GET /api/client/v1/orders.
Ask me before submitting work or sending delivery feedback.
If a submission times out, check recent orders before retrying.Set up client webhooks
Webhooks tell your integration when an order changes, a reply comes in, or a deliverable is ready. If you want those updates, give the same agent this prompt.
Add client webhooks using the same OpenAPI spec.
Get my approval for the HTTPS URL and events before registering
at POST /api/client/v1/webhooks. Store signing_secret in the
receiver’s secret store.
Follow the spec to verify X-Wayfront-Signature against the raw
request body and enforce a short timestamp tolerance.
Deduplicate using X-Wayfront-Delivery. Return 2xx after saving
or queuing the event, or if the verified event was already accepted.
Use data.order_number to fetch the latest order details.
Events can arrive out of order.