Authentication
You sign in to the ReOpenly app in a browser, and programs call the API with account-scoped API keys. An authenticated request identifies the caller; the requested project and model then determine access and, for shared models, which account pays. The public pricing endpoints do not require authentication.
Your ReOpenly account is created when you first sign in and accept the Terms
of Service on the screen that follows. Signing in alone creates nothing:
until the Terms are accepted, requests for that identity return 403 with
detail.code set to registration_required, and the dashboard takes you to
the Terms screen.
Create an account API key
Sign in to the ReOpenly dashboard and open API keys from the profile menu
(/app/api-keys). A key belongs to your account and can be used with projects
that account is allowed to access; it is not attached to one project. The full
fnf_... token is shown only in the create response or dialog. Store it in a
secret manager immediately; ReOpenly stores a digest and cannot display the
original value later.
API keys act as your account on the customer API. They cannot sign in to the app or change account settings such as your password or privacy choices.
Send the key
Use the standard bearer header:
export REOPENLY_API_KEY='fnf_replace_with_the_created_key'
curl https://reopenly.com/api/v1/base-models \
-H "Authorization: Bearer ${REOPENLY_API_KEY}"
Do not put the key in a browser bundle, URL, model name, or log line.
A missing, invalid, inactive or expired credential answers 401. Only a
missing credential also carries WWW-Authenticate: Bearer. The body depends on
the route:
- On
/api/v1routes it is the REST error body:{"detail": {"code": "unauthenticated", "message": "..."}}. - On the OpenAI-compatible routes it is a top-level
detailstring, for example{"detail": "Invalid or inactive API key"}. Model and serving failures on those routes use the{"error": {...}}envelope.
See Errors and retries.
Find the deployment catalog
GET /api/v1/base-models is authenticated and returns the model catalog plus the
training bounds for that deployment:
{
"base_models": [
{
"model_id": "ReOpenly/Qwen3.5-9B",
"display_name": "Qwen3.5 9B",
"size_label": "9B",
"hosted_lora": true,
"max_context_tokens": 4096
}
],
"limits": {
"max_seq_length": { "min": 512, "max": 4096, "default": 2048 },
"num_train_epochs": { "min": 0.01, "max": 20, "default": 3, "integer": false }
},
"profiles": {
"ReOpenly/Qwen3.5-9B": {
"id": "<training-profile-id>",
"version": 1,
"model_id": "ReOpenly/Qwen3.5-9B",
"limits": { "num_train_epochs": { "min": 0.01, "max": 20, "default": 3, "integer": false } }
}
}
}
The exact list and limits are deployment data. Render what the endpoint returns instead of copying this example into application logic.
Project URL template
For OpenAI-compatible calls, combine the project owner and slug with the deployment origin:
export REOPENLY_OPENAI_BASE='https://reopenly.com/api/projects/acme/support/openai/v1'
curl "${REOPENLY_OPENAI_BASE}/models" \
-H "Authorization: Bearer ${REOPENLY_API_KEY}"
The model list is caller-aware: owners see their models, while shared or public hosted aliases appear only when the caller is allowed to use them.
Account
These routes act on your own account. GET /api/v1/me also works with an API
key; the others need a signed-in session, and an API key is refused with
403.
GET /api/v1/me
PATCH /api/v1/me/profile
POST /api/v1/me/password
POST /api/v1/me/email/verification
POST /api/v1/me/email
GET /api/v1/me/preferences
PUT /api/v1/me/preferences/product-analytics
PUT /api/v1/me/preferences/advertising
PATCH /me/profile takes {"name": "..."} (1 to 128 characters) and returns
{"status": "updated", "name": "..."}. POST /me/password takes
current_password and new_password, checks the current one first, and
returns {"status": "updated"}.
Add an email address
An account with no email address can add one in two steps:
POST /api/v1/me/email/verificationwith{"email": "you@example.com"}sends a code to that address and returns{"status": "sent"}. Nothing is saved yet. Sending again makes the previous code stop working.POST /api/v1/me/emailwith{"email": "you@example.com", "code": "<code>"}checks the code, saves the address and returns{"status": "updated", "email": "you@example.com", "verified": true}.
Without "replace": true, both routes answer 409 when the account already
has an email address, so a client written to add an address never replaces
one. If email cannot be sent, they answer 503.
Change an email address
The same two steps change the address already on the account. Add
"replace": true to both requests, and send your current password with the
second:
POST /api/v1/me/email/verificationwith{"email": "new@example.com", "replace": true}sends a code to the new address. Nothing changes yet: your current address keeps working for sign-in and password recovery.POST /api/v1/me/emailwith{"email": "new@example.com", "code": "<code>", "replace": true, "current_password": "<password>"}checks your password and the code, and only then replaces the old address with the new one.
The password is required because proving the new address alone is something anyone holding your signed-in session could do; your password is not.
In the app, open Account, choose Change email, and enter the code sent to the new address together with your current password.
Without current_password the change answers 422 with the code
current_password_required. A wrong password answers 422, the same as a
wrong current password when changing the password. Neither uses up the code.
An account without a password (one that signs in only with a social account)
cannot change its email address this way: both steps answer 409 with the code
email_change_requires_password, and the app does not show Change email.
To change it, write to reopenly@gmail.com from the current address.
A wrong or expired code answers 422 and leaves the current address in place;
ask for a new code to try again. An address that belongs to another account is
refused with 422, the same as when adding one. Asking to change to the
address the account already has answers 409 with the code email_unchanged.
GET /api/v1/me reports can_change_email: true when the account has an
address and a password, and a code can be sent. Like the other account changes, these routes
need a signed-in session; an API key is refused with 403. Nothing is sent to
the old address when it is replaced.
Delete the account
Neither the API nor the app can delete the account. To delete it, write to reopenly@gmail.com; we confirm who you are before acting. The privacy policy says what deletion removes, what is kept and how long it takes.
Privacy choices
GET /api/v1/me/preferences returns product_analytics_consent,
advertising_consent and the notice_version of the privacy notice in force.
Each choice is granted, denied or unknown; unknown means you have not
chosen yet, not that you agreed or refused.
Change a choice with PUT /api/v1/me/preferences/product-analytics or
PUT /api/v1/me/preferences/advertising:
{"decision": "denied"}
decision is granted or denied. The response is your account: slug,
analytics_subject_id, product_analytics_consent, advertising_consent and
service_access. The two choices are separate, so one never implies the
other. A change applies from then on; it does not recall data already sent.