POST
/
pages
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>"
}

Authorizations

x-phishy-api-key
string
header
required

Body

application/json

Details of the new page to create

name
string
required

Name of the page

html
string<html>
required

HTML content of the page

Response

Page created successfully

id
string
required

Unique identifier for the page

title
string
required

Title of the page

content
string
required

Content of the page