YOM Docs

Authentication

This is the authentication mechanism common to all YOM services. To access any of them, YOM will provide you with application credentials that you must use to obtain an access token (JWT) before each query session.

🌐 Base URL


Environment Base URL
Production https://api.youorder.me/api/v2
Staging https://api.solopide.me/api/v2

In the examples on this page, {BASE_URL} is the base URL of the environment you are working with.

🔑 Credentials


Through a secure channel, YOM will provide you with the following credential pair for the corresponding environment:

Field Description
client_id Public identifier of the application.
client_secret Application secret. Treat it like a password: do not publish it in repositories, logs, emails, or tickets.

<aside> ⚠️

If you suspect the client_secret has been exposed, contact us to rotate it.

</aside>

📋 Prerequisites


Before starting the integration, make sure you have:

🔒 Get a token


Before querying data, you must obtain an access token (JWT) using your credentials.

Endpoint:

POST {BASE_URL}/auth/tokens/grant

Required headers: