Create an entry for your address
Adds the address this request came from, for SSH and for the website, at the level you choose: me (every environment you can reach), this environment, its website or your company. When the address can already connect, nothing is added and the answer says what allows it. When the level already holds the address for SSH only or for the website only, that entry is widened to both rather than a second one added, and it keeps its expiry unless the one you ask for is later: an entry with no expiry stays without one, so expires_in_days never shortens it. Read entry.expires_at in the answer for when the address stops being allowed.
Body
Up to 200 characters.
The environment you want to reach. At least 1.
After how many days a new entry stops being allowed. Null, or left out, for no expiry. An entry the level already holds for the address is widened instead and keeps its own expiry when that is later, or when it has none: read entry.expires_at in the answer. After how many days the address stops being allowed. Null, or left out, for no expiry.
13090365nullFields
Where to add the address: for yourself (me), for this environment, for its website or for your company.
meenvironmentwebsitecompanyReturns
200 The address can already connect. Nothing was added.
201 The address was added, or the entry the level already held for it was widened to SSH and the website. entry is the entry as it now stands, with the expiry it has. Follow change_id with GET /firewall/changes/{change}.
Fields of the 200 answer
Fields of each item
agencycompanywebsiteenvironmentuserpresethttp_auth_ruleWhere an address is held: a company, a website, an environment or a person. http_auth_rule is an address carried over with a password-protected path.
Fields
At least 1.
companywebsiteenvironmentuserhttp_auth_ruleFields of the 201 answer
One address or range on a firewall list.
Fields
Who added an address or made a change.
Fields
Null when the person has been removed, or when Corefinity support added the address.
The person Corefinity support added it for.
True when Corefinity support added the address for a customer.
Where a carried address came from.
When the entry last changed where it applies. Compare it with a target's applied_at to tell whether the change is live there. Format: date-time.
The address in CIDR form. A single address reads /32 (IPv6 /128). Removing the entry asks you to send this back.
Format: date-time.
Corefinity's reason, once a range request is rejected.
Whether you may change or remove the entry.
When the address stops being allowed. Null for no expiry. Format: date-time.
The IP version.
46The entry id the /firewall/entries/{entry} endpoints take.
The level the address comes from, as you see it. agency is an address of your agency.
agencycompanywebsiteenvironmentuserpresethttp_auth_ruleWhere an address is held: a company, a website, an environment or a person. http_auth_rule is an address carried over with a password-protected path.
Fields
At least 1.
companywebsiteenvironmentuserhttp_auth_ruleThe protected path of a carried http_auth_rule address.
The reason given with a range request.
What an address may reach.
Fields
The address may connect over SSH.
The address sees the website without the HTTP authentication login or the maintenance page.
How the entry came to be, such as manual, one_click (the address you were calling from) or an import.
manualone_clickon_behalfip_whitelistlegacy_importlegacy_usagegcp_rule_importlegacy_deltaplatform_seedhttp_auth_carrypending_approval is a range request waiting for Corefinity. removing lasts until the address is gone everywhere.
activepending_approvalrejectedremovingexpiredTrue while the address's website access is paused by the platform.
If it is refused
| Status | Reason | What to do |
|---|---|---|
401 | none | Send a valid token as Authorization: Bearer <token>. |
403 | company_unavailable | Your company is unavailable. |
403 | firewall_not_editable | You can see this entry but you cannot change it. |
403 | scope_required | Use a token with the scope named in scope. |
403 | two_factor_required | Turn on two-factor on your account, then send again. |
404 | feature_off | This feature is not on for your organisation yet. |
404 | not_found | Not found. |
422 | firewall_address_refused | That address is in a private range and cannot be allowed. |
422 | invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
429 | firewall_throttled | Too many firewall changes. Wait a minute and try again. |
429 | rate_limited | Wait for the seconds in Retry-After. |
Reasons are listed by name in Errors and refusals.
The same task elsewhere
curl -X POST https://manage.corefinity.com/api/firewall/my-ip \
-H "Authorization: Bearer $COREFINITY_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"comment": "Home",
"environment_id": 1311,
"expires_in_days": 30,
"level": "me"
}'use Illuminate\Support\Facades\Http;
$response = Http::withToken(env('COREFINITY_TOKEN'))
->acceptJson()
->post('https://manage.corefinity.com/api/firewall/my-ip', [
'comment' => 'Home',
'environment_id' => 1311,
'expires_in_days' => 30,
'level' => 'me',
]);
$data = $response->json();const res = await fetch('https://manage.corefinity.com/api/firewall/my-ip', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.COREFINITY_TOKEN}`,
Accept: 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
comment: 'Home',
environment_id: 1311,
expires_in_days: 30,
level: 'me',
}),
});
// An answer with no body (204) has nothing to parse.
const text = await res.text();
const data = text && JSON.parse(text);import os
import requests
res = requests.post(
"https://manage.corefinity.com/api/firewall/my-ip",
headers={
"Authorization": f"Bearer {os.environ['COREFINITY_TOKEN']}",
"Accept": "application/json",
},
json={
"comment": "Home",
"environment_id": 1311,
"expires_in_days": 30,
"level": "me",
},
)
data = res.json() if res.content else None{
"present": true,
"via": [
{
"cidr": "198.51.100.0/24",
"entry_id": 9003,
"layer": "company",
"owner": {
"id": 1204,
"name": "Harbour & Finch",
"type": "company"
},
"subscription_id": null
}
]
}{
"change_id": 5309,
"entry": {
"added_by": {
"name": "Eleanor Finch",
"on_behalf_of": null,
"support": false
},
"carried_from": null,
"changed_at": "2026-11-06T09:16:40Z",
"cidr": "198.51.100.24/32",
"comment": "Home",
"created_at": "2026-11-06T09:16:40Z",
"decision_reason": null,
"editable": true,
"expires_at": "2026-11-05T09:16:40Z",
"family": 4,
"id": 9005,
"layer": "user",
"owner": {
"id": 2041,
"name": "Eleanor Finch",
"type": "user"
},
"path": null,
"request_reason": null,
"scope": {
"ssh": true,
"web": true
},
"source": "one_click",
"status": "active",
"web_paused": false
}
}{
"message": "Unauthenticated."
}{
"code": "company_unavailable",
"message": "Your company is unavailable.",
"reason": "company_unavailable"
}{
"code": "feature_off",
"message": "Not found.",
"reason": "feature_off"
}{
"code": "firewall_address_refused",
"field": "address",
"message": "That address is in a private range and cannot be allowed.",
"reason": "firewall_address_refused"
}{
"code": "firewall_throttled",
"field": null,
"message": "Too many firewall changes. Wait a minute and try again.",
"reason": "firewall_throttled"
}Try it is off for this endpointIt has not been cleared for the console. Copy the request and run it yourself when you are sure.