View Business Unit / Categories API
Returns the list of Business Units/Categories for the given Organization Id.
Endpoint
Method: GET
URL: https://uselfserve-<tenant-name>.uniphore.com/cse/organization/{orgId}/categories/
curl -X GET " https://uselfserve-<tenant-name>.uniphore.com/cse/user/3/organization/1/categories/" -H "accept: application/json;charset=UTF-8" -H "Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJBZG1pbiIsImV4cCI6MTY0OTQxOTI1OCwiaWF0IjoxNjQ5MzMyODU4fQ.28m2jSYsS8_uoFk5qsDNiAQmpNAU3OPkXWn5Ta_W4TW0S6A3LYxCsL9DJ_TPi0w6icDKEry-370xeNGUtNEUGQ" -H "X-CSRF-TOKEN: 0b108b08-8e96-435d-bf19-821b6b7e1cc8"
Header Parameter
Authorization - Bearer <Token>
Path Parameter
Parameter Name | Data Type | Description | Required/ Optional |
---|---|---|---|
| Number | The Id of the Organization whose category needs to be fetched. | Required |
Example Response
{ "categoryData": [ { "catId": 2, "categoryName": "UBOT_BU2", "nluEngine": { "engineId": 2, "engineName": "RASA_NLU" }, "organization": null } ] }
Response and Error Codes
Response Code | Condition |
---|---|
200 | OK |
403 | Forbidden |
404 | Not found |
500 | Internal Sample Error |