Create destination
Add a place a session’s result is sent after the call. The signing secret is in the response and is never retrievable again. Requires CREDENTIAL_ENCRYPTION_KEY to be configured (503 otherwise).
Access: workspace_admin · API key destinations:write
api-keyAuthorizationBearer <sk_waylo_<lookup><secret><checksum>>application/json- body
workspaceId*stringuuidname*stringlength <= 100url*stringlength <= 2048credentialId?|uuidsendTestCalls?booleanAlso deliver for calls started from the dashboard, marked as tests.
falseinstructions?stringAdded to the prompt of every agent that uses the destination: what the agent tells the caller about the hand-off. Empty adds nothing.
length <= 2000""Created, with the signing secret
application/json- response
destination*signingSecret*stringShown once. Not retrievable afterwards.
curl -X POST 'https://api.poc.app.waylovoice.ai/destinations' \ -H 'Authorization: Bearer sk_waylo_...' \ -H 'Content-Type: application/json' \ -d '{ "workspaceId": "ef0efa32-d1c1-43d4-a5e2-fe7b4f00403c", "name": "string", "url": "https://orders.example.com/notes"}'{ "destination": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "workspaceId": "ef0efa32-d1c1-43d4-a5e2-fe7b4f00403c", "name": "string", "url": "string", "credentialId": "f568fec0-10b6-4b94-9daf-e62c50c9bf3e", "credentialName": "string", "credentialActive": true, "sendTestCalls": true, "instructions": "string", "active": true, "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620", "createdByUserName": "string", "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e", "updatedByUserName": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "signingSecret": "string"}Resend delivery POST
Send a delivered or failed delivery again, from the first attempt of the schedule. The same body and the same id are sent, so a receiver that already holds it keeps one. **Access:** workspace_admin · API key `sessions:write`
Get destination GET
One destination, by id. Never includes a secret. **Access:** workspace_viewer · API key `destinations:read`