User authentication and session management for B2B integrations
- Send Email newsletter according to the list of clients
Send SMS to the list of clients
Send SMS campaigns to customers matching the filters
Send email campaigns for clients matching the filters
Getting Message Statuses
Get notification settings in a location
Get User Notification Settings
Change User Push Notification Settings
Send Email newsletter acc...
Business Management (1.0.0)
Full-featured B2B API for business operations.
Base URL: https://api.alteg.io/api
V1 will be gradually deprecated. We recommend using V2 API for new integrations. V1 endpoints are maintained for backward compatibility, but new features will be released in V2 only.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v1/openapi/
Production
https://api.alteg.io/api/v1/
Request
The object for creating SMS mailing has the following fields:
| Field | Type | Description |
|---|---|---|
| text | string | SMS text message |
- fullname:'Joh' (optional, string) - Name (part of name) to filter clients
- phone:'1315' (optional, string) - Phone (part of the number) to filter clients
- email:'test@' (optional, string) - Email (part) for client filtering
- card:'5663rt' (optional, string) - Card (part) to filter customers by loyalty card number
Attention: If there are no filters, SMS mailing will go to the entire database!
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/sms/clients/by_filter/{location_id}
- Productionhttps://api.alteg.io/api/v1/sms/clients/by_filter/{location_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/sms/clients/by_filter/{location_id}?fullname=%27Joh%27&phone=%271315%27&email=%27test%40%27' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"text": "Dear clients, we congratulate you on being our clients! You are very lucky!"
}'Response
application/json
{ "success": true, "meta": { "message": "Accepted" } }
Request
The object for creating an Email campaign has the following fields:
| Field | Type | Description |
|---|---|---|
| text | string | Text Email Message |
| subject | string | Email Subject |
- fullname:'Joh' (optional, string) - Name (part of name) to filter clients
- phone:'1315' (optional, string) - Phone (part of the number) to filter clients
- email:'test@' (optional, string) - Email (part) for client filtering
- card:'5663rt' (optional, string) - Card (part) to filter customers by loyalty card number
Attention: If there are no filters, email distribution will go to the entire database!
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/email/clients/by_filter/{location_id}
- Productionhttps://api.alteg.io/api/v1/email/clients/by_filter/{location_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/email/clients/by_filter/{location_id}?fullname=%27Joh%27&phone=%271315%27&email=%27test%40%27' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"subject": "Important!",
"text": "Dear clients, we congratulate you on being our clients! You are very lucky!"
}'Response
application/json
{ "success": true, "meta": { "message": "Accepted" } }