Trying to get this api to work, i can authenticate but can't seem to get the token
Here are the instructions any idea?
Getting Started
All you need to start using our api is our endpoint.
https://app.hailtrace.com/api/v4
If you're having trouble with our endpoint please reach out to our team.
To sign in, just make a POST
request to the /signin
endpoint with the following payload:
{ "username": "yourUsername", "password": "yourPassword" }
You will get back a token
that needs to be added to the header of all subsequent requests to our api.
POST /api/v4/some-api-endpoint HTTP/1.1
token: abcdefghijklmnopqrstuvwxyz123456789
All requests to our api are expected to have the Content-Type
header set to application/json
.