Project domains
Repair Run402-owned ProjectDomain drift
Idempotently restores Run402-owned dynamic state, such as a missing custom receive route recipient, then requires fresh receive tests before custom mailbox addresses become effective again.
post/projects/v1/{project_id}/domains/{domain}/actions/repair
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/projects/v1/{project_id}/domains/{domain}/actions/repair
- Auth: one of:
- API key in header SIGN-IN-WITH-X
- HTTP bearer
- HTTP bearer
Path parameters
project_idstring required
Run402 project ID. Public IDs are not UUIDs.
Example:prj_1741340000_0042
Target project id. Authorization is checked server-side through wallet SIWX, control-plane session, or scoped grant key.
domainstring required
Example:kysigned.com
Lowercase DNS name to bind to the project.
Headers
SIGN-IN-WITH-Xstring required
SIWX auth header — base64-encoded JSON payload containing a signed CAIP-122 (EIP-4361) message. See https://docs.x402.org/extensions/sign-in-with-x.
Response
ProjectDomain after repair
Example response
{
"project_id": "prj_1741340000_0042",
"domain": "kysigned.com",
"desired": {
"web": {
"target": "production"
}
},
"next_actions": [
{
"method": "POST",
"path": "/tiers/v1/hobby",
"auth": "x402"
}
],
"next_action": {
"method": "POST",
"path": "/tiers/v1/hobby",
"auth": "x402"
},
"alternate_actions": [
{
"method": "POST",
"path": "/tiers/v1/hobby",
"auth": "x402"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.