Fetch Connector Properties by Organization ID
Returns Organization level connector properties for the given Organization ID.
Endpoint
Method: GET
URL: https://uselfserve-<tenant-name>.uniphore.com/organization/{orgId}/properties
curl -X GET "http://localhost:9902/organization/1/properties" -H "accept: application/json" -H "Authorization: Bearer <token>"
Header Parameter
Authorization - Bearer <Token>
Path Parameters
Path Parameter Name | Data Type | Description | Required/ Optional |
---|---|---|---|
| String | Id of the organization for which connector properties need to be fetched. | Required |
Example Response
{ "exotelBingTtsconfigs": [ { "ttsBingSubscriptionKey": "ABCDEFGHIJKLMNOP1234567890", "ttsBingSubscriptionRegion": "eastus", "ttsBingMaxTotalConnections": 100, "ttsBingMaxIdleConnections": 50, "ttsBingMinIdleConnections": 10 } ], "pollyTtsconfigs": [ { "accessKeyId": "ABCDEFGHIJKLMNOP1234567890", "secretAccessKey": "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", "region": "us-east-1", "ttsPollyMaxTotalConnections": 100, "ttsPollyMaxIdleConnections": 50, "ttsPollyMinIdleConnections": 10 } ], "twilioAccountSid": "ABCDEFGHIJKLMNOP1234567890", "twilioAuthToken": "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", "exotelApiKey": "ABCDEFGHIJKLMNOP1234567890", "exotelApiToken": "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", "exotelUserId": "uniphore-uss", "exotelFlowId": "691333", "exotelSubDomain": "api.exotel.com" }
Note
The parameters -twilioApiKey
and twilioApiSecret
are available from U-Self Serve 2024.1.1 release onward.
Response and Error Codes
Response Code | Condition |
---|---|
200 | OK |
401 | Unauthorized |
403 | Forbidden |
500 | Internal Server Error |
Note
With the error codes, a summary containing the reason for failure is provided.