{"items":[{"type":"link","label":"Authenticate","link":"/country-apis-catalog/product-catalog/se/authenticate/openapi","routeSlug":"/country-apis-catalog/product-catalog/se/authenticate/openapi","content":{"contentType":"overview","meta":{"name":"Authenticate"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"openapi.json","url":"/_bundle/country-apis-catalog/product-catalog/se/authenticate/openapi.json?download"},{"kind":"download","label":"openapi.yaml","url":"/_bundle/country-apis-catalog/product-catalog/se/authenticate/openapi.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"email","title":"Creditsafe Integration Team","email":"integration@creditsafe.se","label":"integration@creditsafe.se","withCopyButton":true,"copyContent":"integration@creditsafe.se"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://connect.creditsafe.com","description":"CONNECT Production server (used for all authentication)"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Authenticate (1.0.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":"CONNECT Authenticate is a global authentication service that generates Bearer JWT tokens  for accessing Creditsafe Sweden APIs. This includes GetDataUnit, DateCheck Consumer,  DateCheck Company, GetSignatory, GetData, Search Engine, and SPAR Consumer."}],"sectionId":"/country-apis-catalog/product-catalog/se/authenticate/openapi"}],"sectionId":"/country-apis-catalog/product-catalog/se/authenticate/openapi"}]}]}},{"type":"group","label":"Authentication","link":"/country-apis-catalog/product-catalog/se/authenticate/openapi/authentication","routeSlug":"/country-apis-catalog/product-catalog/se/authenticate/openapi/authentication","items":[{"label":"Authenticate","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/country-apis-catalog/product-catalog/se/authenticate/openapi/authentication/authenticate","routeSlug":"/country-apis-catalog/product-catalog/se/authenticate/openapi/authentication/authenticate","metadata":{"seo":{"title":"Authenticate","description":"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."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"authenticate","name":"Authenticate","isWebhook":false,"pointer":"/paths/~1v1~1authenticate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Authenticate","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"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."},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/AuthRequest","exampleIds":["paths/~1v1~1authenticate/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/AuthRequest","exampleIds":["paths/~1v1~1authenticate/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1v1~1authenticate/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v1/authenticate","servers":[{"url":"https://connect.creditsafe.com","description":"CONNECT Production server (used for all authentication)"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/AuthRequest","exampleIds":["paths/~1v1~1authenticate/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401","429"],"pointer":"/v1/authenticate","href":"authentication/authenticate","openApiOperationId":"authenticate","summary":"Authenticate"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.creditsafe.com","description":"CONNECT Production server (used for all authentication)"}],"schemaId":"components/schemas/AuthRequest","exampleIds":["paths/~1v1~1authenticate/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/AuthRequest","exampleIds":["paths/~1v1~1authenticate/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful authentication - Returns JWT token valid for 1 hour","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/AuthResponse","exampleIds":["paths/~1v1~1authenticate/post/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/AuthResponse","exampleIds":["paths/~1v1~1authenticate/post/responses/200/content/application~1json/example"]},{"code":"400","description":"Bad Request - Missing or invalid request parameters","mediaType":"text/plain","mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"exampleIds":["paths/~1v1~1authenticate/post/responses/400/content/text~1plain/example"]}},"exampleIds":["paths/~1v1~1authenticate/post/responses/400/content/text~1plain/example"]},{"code":"401","description":"Unauthorized - Invalid credentials","mediaType":"text/plain","mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"exampleIds":["paths/~1v1~1authenticate/post/responses/401/content/text~1plain/example"]}},"exampleIds":["paths/~1v1~1authenticate/post/responses/401/content/text~1plain/example"]},{"code":"429","description":"Too Many Requests - Rate limit exceeded. Maximum 5 identical invalid  requests within 2 minutes, or total threshold exceeded within 5 minutes.","mediaType":"text/plain","mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"exampleIds":["paths/~1v1~1authenticate/post/responses/429/content/text~1plain/example"]}},"exampleIds":["paths/~1v1~1authenticate/post/responses/429/content/text~1plain/example"]}],"pointer":"/paths/~1v1~1authenticate/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/AuthResponse","exampleIds":["paths/~1v1~1authenticate/post/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/AuthResponse","exampleIds":["paths/~1v1~1authenticate/post/responses/200/content/application~1json/example"]}}},{"code":"400","exampleIds":["paths/~1v1~1authenticate/post/responses/400/content/text~1plain/example"],"mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"exampleIds":["paths/~1v1~1authenticate/post/responses/400/content/text~1plain/example"]}}},{"code":"401","exampleIds":["paths/~1v1~1authenticate/post/responses/401/content/text~1plain/example"],"mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"exampleIds":["paths/~1v1~1authenticate/post/responses/401/content/text~1plain/example"]}}},{"code":"429","exampleIds":["paths/~1v1~1authenticate/post/responses/429/content/text~1plain/example"],"mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"exampleIds":["paths/~1v1~1authenticate/post/responses/429/content/text~1plain/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/authenticate"}],"panels":[]}]},"httpPath":"/v1/authenticate"}],"content":{"contentType":"group","meta":{"name":"Authentication"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Authentication","showPageActions":true},{"nodeType":"markdoc","content":"Authentication endpoint to generate Bearer/JWT tokens"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v1/authenticate","summary":"Authenticate","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authentication/authenticate","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/AuthRequest":{"id":"components/schemas/AuthRequest","kind":"json-schema","title":"AuthRequest","data":{"type":"object","description":"Authentication request body","required":["username","password"],"properties":{"username":{"type":"string","maxLength":30,"description":"Your User Key as provided by Creditsafe (case-sensitive).  Note: This is NOT the email address used for website login.","example":"myUsername"},"password":{"type":"string","format":"password","maxLength":30,"description":"Your password (case-sensitive)","example":"myS3cretP@ssw0rd999!"}}}},"components/schemas/AuthResponse":{"id":"components/schemas/AuthResponse","kind":"json-schema","title":"AuthResponse","data":{"type":"object","description":"Authentication response containing JWT token","properties":{"token":{"type":"string","description":"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.eyJpc3MiOiJodHRwczovL3NlLXdlYnNlcnZpY2UuYXBwcy5jcmVkaXRzYWZlLmNvbS8iLCJuYmYiOjE3MzA5NzMyNzksImlhdCI6MTczMDk3MzI3OSwiZXhwIjoxNzMwOTc2ODc5LCJhdWQiOiJDcmVkaXRzYWZlU3dlZGlzaEFQSSIsInNjb3BlIjpbImRhdGFjaGVjayIsImNvbXBhbnlnZXRkYXRhIl0sImNsaWVudF9pZCI6InlvdXItdXNlcm5hbWUiLCJqdGkiOiI4RTdBNDk2QTZFQkZCQzQ2OTY0QzRDQTgyMzM3QkU5NiJ9.signature"}}}},"components/schemas/Error":{"id":"components/schemas/Error","kind":"json-schema","title":"Error","data":{"type":"object","description":"Error response for failed requests","properties":{"error":{"type":"object","description":"Error details","properties":{"code":{"type":"string","description":"Error code identifying the type of error","example":"1"},"text":{"type":"string","description":"Human-readable error message","example":"Invalid credentials"},"detail":{"type":"string","description":"Additional details about the error","example":"The username or password provided is incorrect"}}}}}}},"exampleStore":{"paths/~1v1~1authenticate/post/requestBody/content/application~1json/example":{"value":{"username":"myUsername","password":"myS3cretP@ssw0rd999!"},"id":"paths/~1v1~1authenticate/post/requestBody/content/application~1json/example"},"paths/~1v1~1authenticate/post/responses/200/content/application~1json/example":{"value":{"token":"eyJhbGciOiJSUzI1NiIsImtpZCI6Im…hPeGE7Ak8YtKFbA"},"id":"paths/~1v1~1authenticate/post/responses/200/content/application~1json/example"},"paths/~1v1~1authenticate/post/responses/400/content/text~1plain/example":{"value":"","id":"paths/~1v1~1authenticate/post/responses/400/content/text~1plain/example"},"paths/~1v1~1authenticate/post/responses/401/content/text~1plain/example":{"value":"Access denied - Please check that your username and password are correct. Please be aware that usernames and passwords are case sensitive. If the problem persists, please contact your Creditsafe account manager.","id":"paths/~1v1~1authenticate/post/responses/401/content/text~1plain/example"},"paths/~1v1~1authenticate/post/responses/429/content/text~1plain/example":{"value":{"error":{"code":"500","text":"Internal server error","detail":"An unexpected error occurred. Please try again later."}},"id":"paths/~1v1~1authenticate/post/responses/429/content/text~1plain/example"}},"securitySchemeStore":{"bearerToken":{"id":"bearerToken","type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This API requires authentication for access to protected endpoints. Authentication is performed by providing a valid JWT token in the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header of each request."},"children":[]}]}]}]}},"servers":[{"url":"https://connect.creditsafe.com","description":"CONNECT Production server (used for all authentication)"}]},"options":{"feedback":{"type":"mood","settings":{"optionalEmail":{"hide":true},"label":"Do you like this page?","submitText":"Thanks for your feedback - Your comments will shape documentation changes.","reasons":{"label":"Check all boxes that apply.","items":["The content was useful.","The content was easy to find.","The content could do with improvement."]},"comment":{"satisfiedLabel":"What did you like best?","neutralLabel":"How can we improve?","dissatisfiedLabel":"What needs improvement?"}}},"hideInfoMetadata":true,"hideSidebar":true,"mockServer":{"url":"/_mock/country-apis-catalog/product-catalog/se/authenticate/openapi","position":"off","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/country-apis-catalog/product-catalog/se/authenticate/openapi.json?download"},{"url":"/_bundle/country-apis-catalog/product-catalog/se/authenticate/openapi.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Authenticate","description":"CONNECT Authenticate is a global authentication service that generates Bearer JWT tokens  for accessing Creditsafe Sweden APIs. This includes GetDataUnit, DateCheck Consumer,  DateCheck Company, GetSignatory, GetData, Search Engine, and SPAR Consumer.","status":"published","tags":["Sweden"]}},"baseSlug":"/country-apis-catalog/product-catalog/se/authenticate/openapi","routesMapping":{}}