Api referencesTags
Update a tag
The tag update request can be used to update an existing tag programmatically, instead of using AI Studio's UI (User Interface).
PUT https://api-v7.express-chat.com/inbox/tags
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
| authtype | Key |
Request Body
The request body consists of a JavaScript Object Notation (JSON) object containing the fields described in the table below. Examples of the request body can be found in the #sample-requests section.
| Field | Type | Description |
|---|---|---|
| tag | String | Current tag name to identify which tag to be updated |
| newTag | String | New name for updating the tag. |
Responses
Sample Requests
Replace <token> in the below example requests with your valid Bearer token.
curl 'https://api-v7.express.com/inbox/tags'
-X 'PUT'
-H 'Authorization: Bearer <token>'
-H 'Content-Type: application/json'
-H 'authtype: Key'
-d '{
"tag": "Example",
"newTag": "New Example"
}'
--compressed❓ Got any questions?
If you have any questions, you can look into our repository of FAQs, most likely, you will find your answer here, If not, write us at production@S10U.co.za.