Skip to main content
POST
Restart a failed Hack me engagement

Overview

Runs a failed assessment again on the same payment, at no charge; the action behind morph hackme restart. Read restart on the failed engagement first: the call succeeds while restart.available is true. A payment has 2 restarts, usable within 7 days of payment. When restart.available is false, restart.blockedReason says why, and restart.contactSupport means no restart will become available: email support@morphllm.com about a refund. When restart.requiresAcceptance is true, the authorization terms changed since you accepted them: read them with Get Hack me Terms and send { "acceptedTerms": true, "agreementVersion": "<agreementVersion from the terms>" }. A version that is no longer current is refused with 409. Otherwise send no body. The response is the new attempt, with its own id and attemptNumber. Follow that id. Repeating the call returns the same attempt. 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.

Path Parameters

id
string<uuid>
required

Identifies the failed attempt to run again. Id of the failed attempt, the latest of its payment.

Example:

"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16"

Body

application/json

Acceptance of the current terms, needed only when they changed since payment.

A restart of a failed attempt.

acceptedTerms
boolean

Send true when restart.requiresAcceptance is true: acceptance of the current terms from GET /api/v1/hack-me/terms. Ignored otherwise.

Example:

true

agreementVersion
string

Required with acceptedTerms: true: the agreementVersion you read with the terms. Refused with 409 if the terms changed since.

Example:

"2026-12-02-v1"

Response

The new attempt.

An engagement after a write.

engagement
object
required

The engagement after the call.

Example: