Reference translation
This page is a courtesy translation. The Spanish version is the authoritative reference.
SES credentials
SES credentials are the ones the Spanish Ministry of the Interior issues so you can access the SES.HOSPEDAJES platform and submit guest reports.
WARNING
The credentials for the telematic service (hospedajes.ses.mir.es) are not the credentials for the Ministry's public web portal. The Ministry issues them after you register your establishment as a hospedaje provider.
Required fields
- Label — a friendly name to identify the credential in the list (for example, "Main credentials").
- SES username — issued by the Ministry.
- SES password — issued by the Ministry.
- Lessor code (código de arrendador) — identifies the natural or legal person who owns the accommodation. It is independent from the establishment code, which is assigned per accommodation.
Create credentials
- Go to Settings → Agency and find the SES Credentials section.
- Click Add credential.
- Enter the label, username, password, and lessor code.
- Save the credentials.
TIP
If you manage properties for different owners, create one set of credentials per owner. That way you can assign the right credentials to each accommodation.
Assign to accommodations
When you create or edit an accommodation, pick the SES credentials that apply. If you haven't created credentials yet, you can do it directly from the accommodation form without losing your progress.
Automatic verification
RegistroViajero checks your credentials automatically: the moment you save or edit them, and again periodically in the background. That way you don't discover that a password has expired or a username is wrong only when a guest's report bounces.
Each credential shows a status badge in the list:
- Verified — the Ministry accepts it and it's working correctly.
- Rejected by the Ministry — the username or password is wrong or has expired. Edit the credential and re-enter the username and password issued by the Ministry.
- Not verified — not checked yet, or the Ministry was temporarily unreachable at the time.
If a credential that was working stops being accepted, you get an alert (in the app and as a push notification). Once you fix it the alert clears; if it later fails again, we alert you again.
WARNING
A credential marked Rejected by the Ministry blocks Ministry submissions for the accommodations that use it. Edit it and re-enter the correct username and password: submissions resume as soon as it verifies again.
Test the connection
With automatic verification you no longer need to check anything by hand, but you can whenever you want. The Test connection button lives inside the credential form: open it with Add credential or the edit (pencil) icon, then click Test connection to run an immediate check against the Ministry — for example, right after updating a password. RegistroViajero confirms whether the credentials are correct — and if they aren't, it tells you why (wrong username/password, blocked code, etc.).
Owner and Admin only
The test-connection action is available only to Owner and Admin roles. It is rate-limited to 10 attempts per minute to avoid Ministry-side blocks.
More detail in Test SES credentials.
Security
Your Ministry password is stored encrypted in our database and is never shown again after saving — the UI only indicates that a password has been configured. The username and lessor code remain visible so you can identify each credential. To change the password, edit the credential and enter it again.
I don't have credentials
If you don't have Ministry credentials yet, you can still use RegistroViajero to manage registrations and collect guest data. Ministry submission will be enabled once you configure your credentials.
To request credentials, contact your local immigration office (oficina de extranjería) or police station, or visit the Ministry of the Interior website.