๐Language and Categories
Matar supports P2P audio conversations in various languages and categories. Get a list of languages and categories via API Endpoints below.
Get All Languages
Get a list of languages by Language ID
Params
Body Parameter โฌ๏ธ
Body Parameter | Data Type | Description |
---|---|---|
Bearer {{access_token}} (required) | String | Access token helps secure access to Matar resources. |
Sample Request โฌ๏ธ๏ธ (Body Parameter)
Responses โฌ๏ธ
Status Code: ๐ข200 (200 denotes 'ok')
Status Code: ๐ด404 (404 denotes 'Not found')
Response Parameters Description:
In the response, the language code is mapped to the language name which is used in various Matar API endpoints
Get All Categories
Get Question Categories by Category ID for an organization
Params
Query Parameter โฌ๏ธ
Body Parameter | Data Type | Description |
---|---|---|
organization_id (required) | String | An organization ID can be fetched via Get all Organizations API endpoint. |
Header Parameter โฌ๏ธ
Header Parameter | Data Type | Description |
---|---|---|
Bearer {{access_token}} (required) | String | Access token helps secure access to Matar resources. |
Sample Request โฌ๏ธ๏ธ (Body Parameter)
Responses โฌ๏ธ
Status Code: ๐ข200 (200 denotes 'ok')
Response Parameters Description:
Response Parameter | Description |
---|---|
_id | Six-digit alphanumerical ID mapped to a certain question category in an organization. |
is_active | Denotes whether the category is active. |
parent_category_id | Every sub-category(child) has a parent category id. |
sort_order | Order in which categories are sorted and listed. |
title | Category Title. |
Last updated