Get connection
One connection, by id, without any secret.
Access: tenant_member · API key telephony:read
api-keyAuthorizationBearer <sk_waylo_<lookup><secret><checksum>>id*stringSuccess
application/json- response
id*stringname*stringstatus*string"activating""active""failed"statusReason*string|nullactive*booleannumberCount*numbercreatedByUserId*|uuidcreatedByUserName*string|nullupdatedByUserId*|uuidupdatedByUserName*string|nullcreatedAt*stringdate-timeupdatedAt*stringdate-timeprovider*"twilio""twilio"config*curl -X GET 'https://api.poc.app.waylovoice.ai/telephony-connections/string' \ -H 'Authorization: Bearer sk_waylo_...'{ "id": "string", "name": "string", "status": "activating", "statusReason": "string", "active": true, "numberCount": 0, "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", "provider": "twilio", "config": { "accountSid": "string", "apiKeySid": "string", "trunkSid": "string" }}Create connection POST
Connect a carrier account. `provider` decides the shape of `config`, and an unknown `config` key is refused. The credentials are checked against the carrier before anything is stored (422 when refused), then the Waylo trunk is provisioned in the account. Answers with the connection, `active` or `failed` with a `statusReason` — a failure is its state, not a failed request, retried with a resync. 503 when telephony is not configured. **Access:** tenant_admin · API key `telephony:write`
List connections GET
Carrier connections in the tenant, without any secret; offset-paginated. **Access:** tenant_member · API key `telephony:read`