Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ For custom requirements (eIDAS-qualified timestamps, on-premise deployment): [co
| `GET` | `/v1/health` | Health check |
| `GET` | `/v1/pricing` | Plans and limits |
| `POST` | `/v1/proxy` | Certified proxy call |
| `POST` | `/v1/keys/free-signup` | Create free API key |
| `POST` | `/v1/keys/free-signup` | Request a free API key (202, key sent by email after confirmation) |
| `POST` | `/v1/keys/setup` | Subscribe to Pro, Enterprise, or Platform (Stripe Checkout) |
| `POST` | `/v1/keys/portal` | Open Stripe Billing Portal |
| `POST` | `/v1/keys/overage` | Enable/disable overage billing |
Expand Down
3 changes: 2 additions & 1 deletion docs/quick-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Use case: certified GitHub comments, Slack messages,
# Free (500/month, no card)
curl -X POST https://trust.arkforge.tech/v1/keys/free-signup \
-d '{"email": "you@example.com"}'
# → 202 {"status": "pending_confirmation"}: confirm from the email, the key is sent by email only

# Pro Test (development)
curl -X POST https://trust.arkforge.tech/v1/keys/setup \
Expand Down Expand Up @@ -180,7 +181,7 @@ if 'provider_payment' in result['proof']:
## Key endpoints

```bash
# Free signup
# Free signup (202, key sent by email after confirmation)
POST https://trust.arkforge.tech/v1/keys/free-signup

# Pro/Test setup
Expand Down
10 changes: 4 additions & 6 deletions docs/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,15 +236,13 @@ curl -X POST https://trust.arkforge.tech/v1/keys/free-signup \
-d '{"email": "you@example.com"}'
```

**Response:**
**Response (`202`, identical for a new or a known address):**
```json
{
"api_key": "mcp_free_abc123...",
"plan": "free",
"limit": "500 proofs/month"
}
{"status": "pending_confirmation"}
```

The key is never returned by the API. Open the confirmation link in the email (valid 24 hours, single use) and confirm on the page: your `mcp_free_...` key is then sent to that address. Limits: 3 emails per address per 24 hours, 5 requests per IP per hour (`429`); `503` if the service cannot guarantee the limits, retry later.

No credit card required.

---
Expand Down
Loading