Skip to content

Authentication

Description

In order to use MiTrabajoWS you must first authenticate with the REST API.

Overview

MiTrabajoWS provides you with an endpoint for performing authentication programmatically.

Login

POST /auth/login

Takes two parameters: username and password through the body of the request. Returns the access_token you will need to use the rest of the API endpoints.

Usage

You must add X-Api-Key: [TOKEN] with the [TOKEN] returned by /auth/login to the header of every request you make to the API for authentication purposes.