GET
https://www.app.ocoya.com/api/_public/v1/hashtag-libraries
List hashtag libraries
curl --request GET \
  --url https://www.app.ocoya.com/api/_public/v1/hashtag-libraries \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": "cmayw7l5200067apsmz2tv7e8",
    "name": "Launch",
    "hashtags": [
      "#launch",
      "#saas"
    ]
  }
]

Authorizations

X-API-Keystringheaderrequired

Your API key. Create one in Ocoya. Authorization: Bearer <key> works too.

Query Parameters

brandIdstringrequired

Ocoya brand ID. Get one from GET /brands.

Example:"cmayvq3hk00017apshay5qezu"
querystring

Search query used to filter results by name or matching text.

Example:"Launch"

Response

application/json

Success. The 100 most recent libraries that match.

object[]
idstring

Hashtag library ID. Pass it as hashtagLibraryId to AI post or campaign generation.

Example:"cmayw7l5200067apsmz2tv7e8"
namestring

Library name. Untitled library when it has none.

Example:"Launch"
hashtagsstring[]

The library's hashtags, without duplicates.

Example:
[
  "#launch",
  "#saas"
]