Authentication
POST https://api.tiledesk.com/v3/auth/signin
Allows to authenticate an agent using email and password.
Headers
Content-Type (string) — use "application/json" value
Request Body
email (string) — the user email address
password (string) — the user password
200 Response example
{
"success": true,
"token": "JWT XYZ",
"user": {
"_id": "5ab11c6b83dc240014d46095",
"email": "[email protected]"
}
}POST https://api.tiledesk.com/v3/auth/signinAnonymously
Allows a user to authenticate anonymously on the system.
Headers
Content-Type (string) — use "application/json" value
Request Body
id_project (string) — the project to which the user belongs
firstname (string) — the user firstname
lastname (string) — the user lastname
email (string) — the user email
attributes (object) — the user custom attributes
200 Response example
POST https://api.tiledesk.com/v3/auth/signinWithCustomToken
Allows to authenticate with a custom JWT token.
Headers
Authorization (string) — Custom JWT Authorization token.
200 Response example
Example curl request:
You can find here: https://developer.tiledesk.com/apis/authentication
Last updated 1 year ago