Retrieve tags and posts by tag
cURL
curl --request GET \ --url https://api.example.com/tags
GET /tags
page
perPage
sort
name
curl -X GET "https://api.skayle.ai/v1/tags" \ -H "Authorization: Bearer YOUR_API_KEY"
{ "data": [ { "id": "tag_abc123", "type": "tag", "attributes": { "name": "JavaScript", "slug": "javascript", "postCount": 23 } }, { "id": "tag_def456", "type": "tag", "attributes": { "name": "React", "slug": "react", "postCount": 18 } } ], "meta": { "total": 45 } }
GET /tags/{id}
GET /tags/{id}/posts GET /tags/slug/{slug}/posts
curl -X GET "https://api.skayle.ai/v1/tags/slug/javascript/posts?perPage=10" \ -H "Authorization: Bearer YOUR_API_KEY"