Get Domain Auth Code
formation_get_domain_auth_codeReveals the domain's transfer authorization (EPP) code and lifts the transfer lock — the customer's exit door, shown once and never stored. Requires a trusted-device approval: open one with identity's create-approval-session tool (action_type domain_auth_code_reveal, payload {domain}), have the user approve on their phone, then pass the session id as approval_session_id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"companyId": "<companyId>"
},
"name": "formation_get_domain_auth_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | ||
| companyId | Yes | UUID value wrapper. | |
| approvalSessionId | No | UUID value wrapper. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| authCode | No |