User API documentation
This documentation contains information on Altcraft Platform application programming interface.
Note that most of Altcraft API requests use POST method with application/JSON data format to provide extra token security. To know more about token management see Users, groups and access.
You can download the Altcraft API collection for Postman using this link.
API interaction
Altcraft API request format: POST method, token authorization, response structure, status codes, and XML tag attributes.
Matching
The matching field in the Altcraft API: how to find a profile by email, phone, push subscription, profile ID or custom field, with examples.
Profiles
Profiles API: import and update, bulk operations, merging and splitting, action history and relations.
Databases
APIs for profile databases: the database list, their fields, settings and statistics.
Resources
Resources API: resource list and settings, subscription fields, and subscription statistics with refresh.
Segments
Segments API: creating, updating and deleting segments, listing them and reading segment statistics.
Suppression lists
Suppression lists API: creating, renaming and deleting lists, adding emails and domains, checking and exporting.
Templates and fragments
Message template APIs: adding, deleting and retrieving information about templates and fragments.
Campaigns
Campaigns API: creating, updating, activating and completing campaigns that combine mailings and scenarios.
Mailings
Mailing API methods: broadcast, regular and trigger mailings — creating, updating, launching, status and deletion.
Automation scenarios
Scenario API methods: engaging a profile in a scenario, batch import, activation, priority and node listing.
Loyalty Programs
Loyalty API: members, points accounts, accruing and canceling transactions, expiring points.
Forms
API section for form management: publishing, unpublishing, deleting a form and clearing its collected data.
Promo codes
Promo codes API: importing, retrieving and updating, activation, attaching to a profile and exporting all codes.
Goals
Goals API: registering a goal achievement for a profile, the goal value and extra profile data.
Application push notifications
API for app push notifications: events, passing a push token from a mobile app and managing subscriptions.
Market
Market API: importing orders, products, SKUs and categories, retrieving lists and statuses, deleting entities.
Analytic reports
API methods for reports and statistics: campaign key metrics, deliveries and undeliveries, email bounces.
Senders
Senders API: virtual senders, creating, viewing, editing and deleting sending configurations.
External datatables queries
API section for external SQL datatables: query templates and segments built on top of them.
Objects
Altcraft API objects: senders, sending rules, content, files, schedules and profile relations.
Miscellaneous
Other API methods: file upload, message web version, request deduplication, and reference lists of push providers and genders.
Importing the API collection in Postman
How to import the Altcraft API collection into Postman and configure environment variables for test requests.
List of API endpoints
Complete list of platform API methods grouped by area: profiles, subscriptions, communications, segments, suppression lists, resources, and Market.
SDK
Overview of Altcraft mSDK for mobile apps: Android, iOS, Flutter and React Native platforms, SDK modules and guides.