Developers API Methods wizehive.pages.add

wizehive.pages.add

Create a new page.

Authentication

This method requires authentication.

Arguments

api_key (Required) Your API application key. See here for more details. name (Required) The name for the page. ws_id (Required) The workspace id. pg_id (Optional) The page group id.

Example Response

This method has no specific response - It returns an empty success response if it completes without error.

Error Codes

1: Missing name The required name parameter was not included in the request. 2: Could not save page There was an error editing the page. 4: Must supply workspace id The required parameter ws_id was not found. 6: Page Group not found The parameter pg_id refers to a page group that does not exist, or belongs to a different Workspace. 96: Invalid signature The passed signature was invalid. 98: Login failed / Invalid auth token The login details or auth token passed were invalid. 99: User not logged in / Insufficient permissions The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. 100: Invalid API Key The API key passed was not valid or has expired. 112: Method "xxx" not found The requested method was not found.