getCategory( )


Gets a category by the specified ID.

The getCategory() function returns a Promise that resolves to a category whose ID matches the specified ID.

Permission Scopes

For app development, you must have one of the following permission scopes:
Read Blog
Manage Blog
Read Draft Blog Posts
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
categoryIdstringRequired

Category ID.


optionsGetCategoryOptions

Options specifying which fields to return.

Returns
Return Type:Promise<GetCategoryResponse>
Was this helpful?
Yes
No