Endpoint to generate a Bearer JWT Authentication Token using your username (User Key) and password. The token is required for accessing all Creditsafe Sweden REST APIs including GetDataUnits, DateCheck Consumer, DateCheck Company, GetSignatory, GetData, SearchEngine and SPAR Consumer search. Tokens are valid for one hour and multiple valid tokens can exist simultaneously.
POST
curl -i -X POST \
https://connect.creditsafe.com/v1/authenticate \
-H 'Content-Type: application/json' \
-d '{
"username": "myUsername",
"password": "myS3cretP@ssw0rd999!"
}'Successful authentication - Returns JWT token valid for 1 hour
JWT Bearer token to be included in the Authorization header for all subsequent API requests. Valid for 1 hour from generation. Multiple valid tokens can exist simultaneously.
Example:"eyJhbGciOiJSUzI1NiIsImtpZCI6IkQ3RTRBNzMxRjMyQjYwQzM4QTQxMkREMUVCNEJBOTg4IiwidHlwIjoiYXQrand0In0.eyJpc3MiOiJodHRwczovL3NlLXdlYnNlcnZpY2UuYXBwcy5jcmVka
Response
{ "token": "eyJhbGciOiJSUzI1NiIsImtpZCI6Im…hPeGE7Ak8YtKFbA" }