Skip to content

Getting Started with S2 API

All API calls require authentication except login. Authenticate using the Authorization header with a valid access token, which can be obtained from the Login API.

Note: The access token will expire in 7 days.

If you belong to multiple organizations, include the X-S2-Organization header with your organization ID to access the APIs.

Sandbox

The sandbox base API URL is: https://api.s2sell.io

Error Message

If an error occurs, the API will throw error with error message.

json
{
  "message": "An unexpected error occurred on our server. To help us efficiently resolve the issue, please include the following reference ID when contacting support: ee21f844-efab-44f2-809b-37d19545968b. "
}