Your AccountAuthentication

Authentication

Use your email and password to receive a bearer token for authenticating API requests.

curl -X POST "https://api.datafiniti.co/v4/auth" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "user@example.com",
  "password": "your-password"
}'
{
  "token": "example_string"
}
POST
/auth
POST
Content-Typestring
Required

The media type of the request body

Options: application/json
emailstring
Required

Your Datafiniti account email

Format: email
passwordstring
Required

Your Datafiniti account password

Request Preview
Response

Response will appear here after sending the request

Body

application/json
emailstring
Required

Your Datafiniti account email

passwordstring
Required

Your Datafiniti account password

Responses

tokenstring

Bearer token to use in subsequent API requests

All requests to our API are authenticated by including an Authorization header in the request, in the form of: Authorization: Bearer <token>.

This endpoint allows you to use your email and password to receive a token. You will then use that token in all future requests.