List tags
This request retrieves a list of existing tags.
GET https://api-v7.express-chat.com/inbox/tags
Headers
Content-Type
application/json
Authorization
Bearer <token>
authtype
Key
Responses
200
{
"success": true,
"message": "",
"data": [
{
"_id": "6912ee67c8a7cb954e0ced96",
"_user": "5fed38e56fb193dcc6c933f5",
"tag": "Example",
"status": "ACTIVE",
"createdAt": "2025-04-02T13:14:27.856Z",
"updatedAt": "2025-04-02T13:14:27.856Z",
"__v": 0
}
],
"code": 200
}Response Fields
Root Level
success
Boolean
Indicates whether the API request was successful.
data
array
An array of tag objects containing their specific details
data[] (Tag Array)
data[] (Tag Array)_id
String
ID of the tag record in the system.
_user
String
ID of the user who owns the tag.
tag
String
Tag name
createdAt
String (ISO Date)
Timestamp of when the tag was created.
updatedAt
String (ISO Date)
Timestamp of when the tag was updated..
__v
Number (Integer)
Internal versioning field.
400 - Bad Request
The <token> being used is incorrect.
{
"success": false,
"message": "Argument passed in must be a single String of 12 bytes or a string of 24 hex characters",
"code": 400
}401 - Unauthorized
Your request is missing the authtype: Key header
{
"success": false,
"message": "jwt malformed",
"code": 401
}Sample Requests
Replace <token> in the below example requests with your valid Bearer token
β 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 [email protected].
Last updated