/login
Simple login request
This endpoint is the simplest way to login into your Siga 3 account. When logged it will return the Siga 3 server it's using, the Siga session cookie, your client session cookie, and a logged variable equal to true meaning you successfully logged into your Siga 3 account.
Simple authentication
MySiga uses TLS protocol with HSTS enabled to ensure encrypted and secure connections. If u don't trust it anyway, u can use /login/raw to log in without sending the password to MySiga.
Simple Authentication
POST
https://mysiga.laravieira.me/login
This will get the CPF and the password and login into Siga server.
If a session id is given, it will attempt to log in using the given session id.
If the login requires a captcha and no captcha resolution is given, the captcha will be automatically resolved.
Cookies
PHPSESSID
string
The session id
Request Body
cpf*
string
The user CPF, only numbers
password*
string
The raw user password
captcha
int
The captcha resolution
{
"server": "*",
"siga": "*",
"client": "*",
"logged": true
}
server
Base URL to the Siga 3 server selected by Siga's load balancer.
siga
Siga session id.
client
Session id of MySiga API.
logged
If the user was logged in, is always true and only exists on the 200 response code.
Last updated