iOS & Android Backend Dev URLs with AgentDomains
Pass iOS ATS and Android TLS rules with a real HTTPS API domain during mobile builds.
Apple’s ATS blocks plain HTTP http://192.168.x.x calls by default on physical iPhones. Proxying your dev backend through https://ios-api.makes.fyi avoids insecure ATS exceptions.
1. 3-Stage Sequence Diagram
3-stage sequence: AI agent claims ios-api.makes.fyi, maps it to mobile-api.fly.dev, and verifies HTTPS 200 OK.
2. 4-Step MCP Tool-Call Transcript
Your agent sends these exact calls to https://mcp.agentdomains.co or local stdio.
{
"tool": "check_availability",
"arguments": {
"label": "ios-api",
"domain": "makes.fyi"
}
}
// Response:
{
"fqdn": "ios-api.makes.fyi",
"available": true,
"reason": "available"
}
{
"tool": "claim_domain",
"arguments": {
"label": "ios-api",
"domain": "makes.fyi",
"email": "ops@example.com"
}
}
// Response:
{
"fqdn": "ios-api.makes.fyi",
"status": "claimed",
"confirm_within_days": 30
}
{
"tool": "set_proxy",
"arguments": {
"label": "ios-api",
"domain": "makes.fyi",
"origin": "mobile-api.fly.dev"
}
}
// Response:
{
"ok": true,
"fqdn": "ios-api.makes.fyi",
"origin": "mobile-api.fly.dev",
"https": "https://ios-api.makes.fyi"
}
curl -fsSI https://ios-api.makes.fyi
# HTTP/2 200
# content-type: application/json
# strict-transport-security: max-age=31536000
3. Clean Teardown (GitHub Action & CLI)
Switch your app’s staging config before deleting the dev API hostname. Delete the DNS mapping before you destroy your cloud server to block dangling takeovers.
name: Teardown ios-api
on:
workflow_dispatch:
pull_request:
types: [closed]
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: Delete AgentDomains hostname before destroying compute
env:
AGENTDOMAINS_API_KEY: ${{ secrets.AGENTDOMAINS_API_KEY }}
run: |
curl -fsSL -X DELETE \
-H "Authorization: Bearer $AGENTDOMAINS_API_KEY" \
"https://api.agentdomains.co/v1/subdomains/ios-api"
# Or with the Go CLI:
# agentdomains delete ios-api
More Workflow Blueprints
IoT & Hardware Device Callbacks
Give ESP32 and Raspberry Pi devices a fixed DNS name. Never reflash firmware when your server IP changes.
SaaS ArchitectureMulti-Tenant SaaS Subdomain Demos
Test tenant-per-subdomain routing (acme.tenant-demo.makes.fyi, beta.tenant-demo.makes.fyi) using AgentDomains sub-label DNS records (--host).
AI Voice Agent Webhooks
Host Vapi, Retell, ElevenLabs, or Twilio AI voice agent tool-call webhooks on a low-latency HTTPS domain.
AutomationSelf-Hosted n8n Webhook Endpoints
Give self-hosted n8n on a VPS a clean WEBHOOK_URL=https://n8n-flows.makes.fyi/ so Stripe, Slack, and Google OAuth triggers work smoothly.
Claim your agent domain now
Start with 10 free HTTPS domains under agentdomains.co or makes.fyi for 30 days. Upgrade to Pro for $10/year to keep up to 100 names with visitor stats.