Auth

This section describes the authentication process for the API.

Login

Creates a login request.

POST https://api.shipitor.com/auth/login

Request Body

Name
Type
Description

email*

string

The email you wish to login with.

{
	"success": true,
	"message": "Token sent to the email address (developers should use the token within the /auth/verifylogin path."
}
curl --request POST \
  --url http://api.shipitor.com/auth/login \
  --header 'Content-Type: application/json' \
  --data '{
	"email": "example@gmail.com"
}'

Once you've entered your email, please click on the "Sign In" button. An email will be sent to the address you provided with a verification link. Click on this link to complete the login process.

If you encounter any issues or do not receive the email, check your spam folder or contact support for assistance.

Verify Login

Valid a login request

POST https://api.shipitor.com/auth/verifylogin

Validate a login request and get your key.

Request Body

Name
Type
Description

email*

string

The email you wish to login with.

token*

string

Token Provided in email.

{
	"success": true,
	"apikey": "XXXXX",
	"message": "Token verified"
}
curl --request POST \
  --url http://api.shipitor.com/auth/verifylogin \
  --header 'Content-Type: application/json' \
  --data '{
	"email": "example@gmail.com",
	"token": "YOUR TOKEN"
}'

Then once you have the API Key, you can use it to handle account actions or create shipments in the next section.

Last updated