Endpoint
Returns all tags created by the authenticated user. Tags are used to organize and categorize files.
Authentication
Requires authentication via API token or session cookie.
Response
Returns an array of tag objects.
Unique identifier for the tag
Hex color code for the tag (e.g., #3b82f6)
ID of the user who owns this tag
ISO 8601 timestamp of when the tag was created
ISO 8601 timestamp of when the tag was last updated
Example
curl -H "Authorization: YOUR_API_TOKEN" \
https://your-zipline.com/api/user/tags
Response
[
{
"id": "cld1234567890",
"name": "Screenshots",
"color": "#3b82f6",
"userId": "user123",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
},
{
"id": "cld0987654321",
"name": "Work",
"color": "#10b981",
"userId": "user123",
"createdAt": "2024-01-10T14:20:00.000Z",
"updatedAt": "2024-01-10T14:20:00.000Z"
}
]
Use cases
- Display all available tags in a file management UI
- Build tag selection dropdowns
- Sync tags across multiple clients