Skip to main content
POST
Start a Hack me engagement

Overview

Records your authorization to test one host and returns checkoutUrl, the Stripe Checkout page for the payment; the write behind morph hackme start. This call charges nothing. Read the terms with Get Hack me Terms first: agreementVersion must be the version you showed, or the order is refused with 409.
Open checkoutUrl in a browser to pay $500 plus tax. The page stops working after about 30 minutes; Get the Checkout Page returns a live one. An account runs one engagement at a time, so cancel an unpaid one you no longer want. On 502 the engagement was created but its payment page did not open: the body carries engagementId. Get the page from the checkout route and do not start another. Organization keys require an organization admin.

Authorizations

Authorization
string
header
required

Morph API key, passed as Authorization: Bearer sk-.... Create keys at https://www.morphllm.com/dashboard/api-keys.

Body

application/json

The host, with the terms accepted at their version.

An engagement to start. Carries no amount: the server prices it.

hostname
string
required

One public hostname, such as app.example.com: no scheme, port, path, wildcard or IP address, and not a private name. It must resolve only to public addresses.

Maximum string length: 253
Example:

"app.example.com"

acceptedTerms
enum<boolean>
required

Must be true: acceptance of terms from GET /api/v1/hack-me/terms for this hostname. Recorded on the engagement with the time and the key’s owner.

Available options:
true
Example:

true

agreementVersion
string
required

The agreementVersion you read with the terms. The request is refused with 409 if the terms changed since.

Example:

"2026-12-02-v1"

expectedPriceCents
integer

The price you expect in US cents, excluding tax: priceCents from the terms. When sent, the request is refused with 409 if the price differs.

Example:

50000

Response

Engagement created. Pay at checkoutUrl.

An authorized engagement and where to pay for it.

engagement
object
required

The new engagement, awaiting_payment.

Example:
checkoutUrl
string<uri>
required

Stripe Checkout page for the payment. Open it in a browser. It stops working after about 30 minutes; the checkout route returns a live one.

Example:

"https://checkout.stripe.com/c/pay/cs_live_b2C3d4E5f6G7h8I9j0K1"