Quickstart Guide
This guide will walk you through creating your account, obtaining your credentials, and making your first authenticated request.
Step 1: Create Your Account
- Go to the Zorya Portal at https://app.zorya.com/.
- Click Register or navigate directly to https://app.zorya.com/register.
- Fill out the registration form with your personal and company information.
- Submit the form to create your account.
Once your account is created, you will be able to copy your username and password from the portal. Store them securely — you will need them to authenticate against the API.
Important: Use your API credentials (API username and password). Web platform login credentials are not valid for generating a token.
Keep your credentials secure. Never commit them to version control or expose them in client-side applications.
Step 2: Authenticate and Obtain a Token
Use your API username and password to obtain a Bearer token via the login endpoint:
curl -X POST "https://gateway.zorya.com/api/v1/User/login" \
-H "Content-Type: application/json" \
-d '{
"username": "<YOUR_USERNAME>",
"userPassword": "<YOUR_PASSWORD>"
}'
Successful response:
Code
Save the value of data as YOUR_ACCESS_TOKEN. All subsequent requests must include:
Code
Step 3: Make Your First Authenticated Request
Notice: Testing requests are executed against the live platform using production credentials. Any messages sent will be delivered to real recipient devices, and costs are deducted from your account balance.
With your token, you can query your active user profile:
curl -X GET "https://gateway.zorya.com/api/v1/User/me" \
-H "Authorization: Bearer <YOUR_ACCESS_TOKEN>"
Next, follow the First Request tutorial to send messages and explore the full platform.