cURL
curl --request POST \ --url http://base.url.com/pages \ --header 'Content-Type: application/json' \ --header 'x-phishy-api-key: <api-key>' \ --data '{ "name": "<string>", "html": "<string>" }'
{ "id": "<string>", "title": "<string>", "content": "<string>" }
Creates a new page with provided details
Details of the new page to create
The body is of type object.
object
Page created successfully
The response is of type object.