Skip to main content
GET
YouTube Categories
Retrieve the YouTube categories ids for a given region. The category ID can be set in the POST or PATCH /post endpoints. For example, GET https://api.ayrshare.com/api/youTubeCategories/US for the U.S. video categories.
YouTube only allows certainly categories to be assigned by a user. Only categories where assignable is true can be set in the POST or PATCH /post endpoints when creating a YouTube post.Other categories, which are not assignable and have assignable: false, will result in an error.

Header Parameters

Path Parameters

string
required
Two letter country code of the region.