external_id that already belongs to a customer, that customer comes back with a 200 and nothing changes; use claim to add an email to an existing customer.curl --location 'https://api.usagerail.com/v1/consumers' \
--header 'Idempotency-Key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"external_id": "user_1042",
"email": "ada@example.com"
}'{
"consumer": {
"id": "cons_7Qm2xR9s",
"email": "ada@example.com",
"external_id": "4f9c1d0e7b6a...",
"status": "active",
"email_verified": false,
"created_at": "2026-10-21T09:14:03.120Z",
"plan": {
"id": "plan_free",
"name": "Free",
"version": 1
},
"quota": {
"behavior": "stop",
"limit": "1000"
},
"rate_limits": {
"per_second": 2,
"per_minute": null
},
"current_period": {
"period_start": "2026-10-01T00:00:00.000Z",
"period_end": "2026-11-01T00:00:00.000Z",
"billable_requests": "37",
"billable_units": "37"
},
"balance": null,
"active_keys": 1,
"subscription": null
}
}