Getting Started

Getting Started

To get started, select your preferred programming language from the list below. This will provide you with code examples tailored to your chosen language.

Our APIs are intentionally blocked by CORS for security reasons. To avoid issues, ensure all API requests are made from your server-side application.

End Points

All API requests are made to the following base URL:

EnvironmentBase URL
Testhttps://sandbox.gratero.com (opens in a new tab)
Productionhttps://api.gratero.com (opens in a new tab)
Latest Versionv1

Authentication

To use the Gratero APIs, you need to authenticate your requests using an API key and a Secret key. Follow the steps below to generate your keys:

  1. Sign Up: Visit the Gratero website and sign up for an account.
  2. Generate API Key: Once logged in, navigate to the API Keys section in your account settings.
  3. Create a New Key: Click on the "Generate New API Key" button to create your API key and Secret key.
  4. Store Your Keys: Save your API key and Secret key securely. You will need these keys to authenticate your API requests.