Skip to content
Last updated

Quick Start

Make your first Connect API call in a few minutes: authenticate, then send one request.

You need the Connect username and password Creditsafe gave you.

EnvironmentBase URL
Sandboxhttps://connect.sandbox.creditsafe.com/v1
Productionhttps://connect.creditsafe.com/v1

Start in the sandbox. The examples below use it.


Step 1: Authenticate

Send your username and password to the Authenticate endpoint.

curl -X POST "https://connect.sandbox.creditsafe.com/v1/authenticate" \
  -H "Content-Type: application/json" \
  -d '{"username": "YOUR_USERNAME", "password": "YOUR_PASSWORD"}'

The response contains your token:

{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}

The token is valid for 1 hour. Send it with every request, and authenticate again for a new token before it expires.


Step 2: Send Your First Request

Pass the token in the Authorization header. This call returns the countries and services in your subscription, so it's a quick way to check that everything works:

curl "https://connect.sandbox.creditsafe.com/v1/access" \
  -H "Authorization: Bearer YOUR_TOKEN"

A 200 response means you're ready. A 401 means the token is missing, invalid or expired: authenticate again.


Step 3: Use Your Product

Open the API catalog and select your product:

  • Product Documentation has step-by-step guides for each process.
  • API Documentation lists every endpoint, with parameters, examples and code samples.

Try It in the Portal

  1. Open the Authenticate endpoint, click Try it, select your environment in the top-right corner, enter your username and password and click Send.
  2. Open the endpoint you want, click Try it, and under Security set bearerToken_token to your token.
  3. Fill in the required parameters and click Send.
Security tab showing where to set the bearer token variableSecurity tab showing where to set the bearer token variable

View full-size image — Bearer token variable setup

Use Your Own API Client

Download the OpenAPI definition in YAML or JSON from the top of the product's API Documentation page, and import it into a client such as Postman or Bruno. Store the token in a variable and send it in the Authorization header.

YAML and JSON download buttons at the top of the API definition pageYAML and JSON download buttons at the top of the API definition page

View full-size image — YAML and JSON download buttons


Work With an AI Assistant

You can connect your IDE or AI coding assistant (for example VS Code with GitHub Copilot, or Cursor) to this documentation at https://doc.creditsafe.com/mcp. The assistant can then look up endpoints and generate integration code for you. It reads the documentation only, and doesn't use your credentials.

See Connect to the Docs for setup.


Next Steps