Registration
Create a new account by POSTing your email and name. A verification link is emailed to you - clicking it activates the account and returns your API token.
Endpoint
POST /v1/accounts
Body
Send email, name and timezone. The timezone field accepts any IANA zone (e.g. Europe/London, America/Los_Angeles) or a fixed UTC offset like +02:00.
Example
$ curl -X POST https://api.replicant.space/v1/accounts \
-H "Content-Type: application/json" \
-d '{
"email": "bob@replicant.space",
"name": "Bob",
"timezone": "Europe/London"
}' {
"message": "Verification email sent. Click the link in the email to activate your account."
} Verification
Follow the link in the email and you'll land on a page that displays your API key and first replicant code. You have a 10-minute window to revisit the link and retrieve the token again - after that, only a hash is stored and you'll need to use the recovery flow to get a new one. The email also includes an API-based verification URL (GET /v1/accounts/verify/<token>) that returns the token as JSON, useful for automating the registration process.
{
"api_token": "OsiJIqbw_8tj4SLgeo_xKmYR23IF2UlhycBRSl1GZwAg7ZWTRVy8GZmaFUH2mp8E",
"message": "Email verified successfully",
"replicant": {
"name": "bob-1",
"replicant_code": "C2AF4A82"
}
}