ReferenceDialer connectionsDialer connectionsIdAgentsAgentid
Map a provider agent to a SmileLine member
A manual mapping wins over every later automatic pass. Sending no member clears the mapping.
Loading the API reference…
A manual mapping wins over every later automatic pass. Sending no member clears the mapping.
A practice API key or an OAuth access token, both presented as Authorization: Bearer <token>. The token itself names the practice, so no organization header is needed.
In: header
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuid^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/dialer-connections/497f6eca-6276-4993-bfeb-53cbbbba6f08/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "userId": "string" }'{ "connection": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "provider": "voicestack", "status": "pending_vendor_activation", "externalAccountRef": "string", "numberCount": 0, "lastDirectorySyncAt": "2019-08-24T14:15:22Z", "directorySyncError": "string", "lastWebhookAt": "2019-08-24T14:15:22Z", "lastError": "string", "hasWebhookToken": true, "hasLeadApiToken": true, "webhookTokenPrevValidUntil": "2019-08-24T14:15:22Z", "leadApiTokenPrevValidUntil": "2019-08-24T14:15:22Z", "agents": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "name": "string", "email": "string", "extension": "string", "userId": "string", "mappedBy": "auto_email" } ], "locations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "externalName": "string", "locationId": "1a5515a3-ba81-4a42-aee7-ad9ffc090a54" } ], "createdAt": "2019-08-24T14:15:22Z" }}