getPost( )


Gets a post by the specified ID.

The getPost() function returns a Promise that resolves to a post whose ID matches the given 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
postIdstringRequired

Post ID.


optionsGetPostOptions

Options specifying which fields to return.

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