getDraftPost( )


Gets a draft post by the provided ID.

Uses the provided draftPostId to retrieve a draft post.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Blog
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
draftPostIdstringRequired

Draft post ID.


optionsGetDraftPostOptions

Options for getting a draft post.

Returns
Return Type:Promise<GetDraftPostResponse>
Did this help?