createDraftPost( )


Creates a draft post.

The draft post's memberId is required for third-party apps.

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
draftPostDraftPostRequired

Draft post to create.


optionsCreateDraftPostOptions

Options for creating a draft post.

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