Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guide iconUser guide
Developer guide iconDeveloper guide
Admin guide iconAdmin guide
English
  • Русский
  • English
Login
    User documentation
    Getting Started
    FAQ
    Altcraft glossary
      Profiles and databasesarrow
    • Subscription resources
      Managing databases
      Subscriber profile
      Profiles import and data update
      Scheduled customer data import
      Automatic data collection
      Bulk customers profiles update
      Double opt-in subscription
      Suppression lists
      Profile relations
      Profile history export
      Profile export
      Creating a static segment based on import results
      How to open a CSV file
      Matching
      Types of fields in the database
      Global control groups
      Subscription Manager
      Communication channelsarrow
      • Email channelarrow
      • Email: ISP interactions best practices
        Email: sending domain configuration
        Email: setting up and using postmasters
        Быстрый старт
        Push channelarrow
        • Mobile Pusharrow
        • Settings & implementation
            Integrate your app with Altcraftarrow
          • Providers: push message structure
            Processing and adding a subscription
            Event registration
          Web pusharrow
        • Preliminary Settings
            Web browser push configurationarrow
          • Firebase Cloud messaging
            Apple Safari
            Mozilla Services
          Connecting Web Push to a Website
          Transferring Data to the Platform
          Web Push SDK Methods
            Import of subscriptions from third-party push servicesarrow
          • Migrating push subscriptions from third-party services
            How to transfer push subscriptions configured for Safari?
            Migration from OneSignal
      SMS channel
        Creating mailing from scratcharrow
      • Email
        SMS
        Web Push
        Mobile Push
        WhatsApp
        Viber*™
        Руководство: SMS-рассылка через VK Notify
        MAX Bot
        MAX Group
        Notify
        Telegram Bot
        Telegram Group
      Communication Channels Workflow
      Руководство: SMS-рассылка через УТШ
      Руководство: push-рассылка через сервис от "Согласие"
      Segmentationarrow
    • Static Segments
      Dynamic Segments
      Updatable Segments
        Segmentation Conditionsarrow
      • Segmentation by Profile data
        Segmentation by Interactions with Entities
        Segmentation by Activity of the channel
        Segmentation by external data
        Segmentation by external SQL tables
        Segmentation by Profile structure
      Best Send Time (BST)
      Logical operators "AND" and "OR"
      Recommendations for working with segments
      Message templatesarrow
      • Working with message templatesarrow
      • Working in the editor
        Email-template
        SMS template
        Push template
        MAX template
        Telegram template
        WhatsApp template
        Viber™ template
        Notify template
        Visual editor for email-templatearrow
      • Visual editor interface
        Adding blocks
        Elements and their settings
        Custom blocks
        Style manager
        Layer manager
      Template fragments
      Image gallery
      Content personalization
      Creating tables based on array elements
      Block editor for email template
        Altcraft Variables and Functionsarrow
      • Logical expressions in messages
        Loops in messages
        Market variables in templates
        Using the JSONPath functionality
        Dynamic content in messagesarrow
      • Dynamic HTML content
        Dynamic JSON content
        Content from SQL database in templates
        Dynamic API content
      Importing and exporting a message template
      Importing a template from a third-party service
      Exporting a template from Pixcraft
      Mailingsarrow
    • Mailings calendar
      Broadcast mailings
      Regular mailing
      Trigger mailing
      Multivariate testing
      Mailing testing
      Mailing schedule
      Placement mailing
      Campaignsarrow
    • Working with Campaigns
      Local control groups (LCG)
      Audience expansion
      Audience building
      Automation scenariosarrow
    • Managing scenarios
      Nodes of the scenario
      Classic marketing scenarios
      Step-by-step welcome scenario guide
      Scenario for automatic notification of the manager
      Abandoned cart scenario
      Marketarrow
    • Market settings
        Productsarrow
      • How to create a product manually
        How to import a product from a file
        Scheduled product import
        Product and SKU Segments
        Preparing the YML file
      Orders
      Market variables in message template
      Guide: how to send an order confirmation email
      Loyalty programsarrow
    • Loyalty programs
      Loyalty integration with external systems
      Быстрый старт
      Basic loyalty program use cases
      Order Segments
      Promotion codes
      Reports and analyticsarrow
    • Channel report
      Traffic report
        Summary reportarrow
      • Summary report metrics
      Cohorts report
      Lifetime report
      Funnels report
      Goals report
      Audience growth report
      Click map report
      Loyalty programs report
      Bounces report
      Undeliveries report
      Report on global control groups
      Integrationsarrow
      • Action hooksarrow
      • Altcraft Action Hooks
        Action hooks event types
        Action Hook Message Structure
        JSON batch request (HTTP POST action hook)
        Message to RabbitMQ broker
        Message to RabbitMQ exchanger
        Message to Kafka broker
        Test event
        Integration of third-party services using Albatoarrow
      • Connecting Altcraft to Albato
        Launching the welcome scenario using Albato
        Transmitting event data
        Setting app a trigger mailing
        Event registration
        Google Sheets and Altcraft integration
        AmoCRM and Altcraft integration
      Facebook Ads Manager™
      Google Ads Audiences
      MAX
      Yandex.Audience™
      VK Ads™
      Static segment synchronization
      Yandex AppMetrica™
      Tilda™
      Lpgenerator™
      WhatsApp
      Viber*™ integration
      Integration scope
      Data Transmitted During Synchronization
      Notify
      Weblayersarrow
      • Formsarrow
      • Create a form
        Form constructor
        Appearance
        Actions after form activation
        Data analytics
        Binding data channel and forms
        Conditional logic in forms and surveys
        NPS testing
        Pixelsarrow
      • Goal customer actions and scoring
        Pop-upsarrow
      • Creating and publishing a pop-up
        Setting up a popup in the code editor
        Managing pop-ups manually via script
        Popup analytics
        Guide: pop-up for push subscriptions
        Case: Creating a pop-up with the "Wheel of Fortune" widget
        Basic cases of placing a popup via the Tag Manager
        Tag Managerarrow
      • Configuring and installing Tag Manager
        Trigger types
        Variables types
        Linking a pixel and the Tag manager
      Settingsarrow
    • Account settings
      Custom links
      Virtual senders
      Sending policies
      Audit journal
      Tags FAQ
        Users, groups and accessarrow
      • Two-Factor Authentication (2FA)
        Connectionsarrow
      • Connection to Facebook Ads Manager
        Connection to Google Ads
        Connecting to Yandex.Audience™
        Connection to 360dialog
        Connection to Edna
        Connection to Devino Telecom
        Connection to SMSTraffic
        Connection to VK Ads™
        Connection to MTS OmniChannel
        Custom Authentication Connection
        OAuth2 connection
        Basic Authentication connection
        Token Authentication connection
        Connection to Rapporto
        MAX connection
        Connection to Notify
      Attribute settings
      API requests: where to startarrow
    • Import or update a profile
      Trigger mailing launch
      Engage profile in scenario
      Changelogarrow
    • v2026.1.76
      v2025.4.75
      v2025.4.74
      v2025.3.73
      v2025.2.72
      v2025.1.71
      v2024.4.70
      v2024.3.69
      v2024.2.68.2
      v2024.1.68
    Documentation archive
    library
  • Communication channels
  • Push channel
  • Web push
  • Import of subscriptions from third-party push services
  • Migration from OneSignal

Migration from OneSignal

Step 1. Get VAPID keys from OneSignal service​

caution

Skip the step if you are migrating subscriptions configured for the Safari browser.

Request the keys from OneSignal technical support. Both private and public keys are required .

tip

VAPID keys and Application Server keys are the same thing.

Step 2. Import the VAPID keys into your Firebase project​

caution

Skip the step if you are migrating subscriptions configured for the Safari browser.

Go to project settings in Firebase and go to the Cloud Messaging tab. At the bottom of the page, you will see the Web Configuration section. Here you can generate keys yourself, but we do not need this, since you have already received VAPID keys from your service. Click "import an existing key pair" at the very bottom of the section.

In the new window enter Public key and Private key that you've got from OneSignal technical support.

Step 3. Configure the resource​

For information on configuring a resource for Web push notifications, see Web push: settings and implementation.

tip

Please note that resource settings differ from browser to browser.

Step 4. Export subscriptions​

Exporting subscriptions involves creating a CSV file that contains all of your current user data.

Use the Curl utility to make a POST request. The request will generate a URL that to can use to download a compressed CSV file (.csv .gz).

tip

The file may take several minutes to generate depending on the number of users in your app.

You can test if it is complete by making a GET request to the csv_file_url value.

If the file is not ready, a 403 error will be returned. Otherwise the file itself will be returned.

Below is an example of the request that can be run in the terminal.

Request example
curl -X POST -H "Authorization: Basic YOUR_REST_API_KEY" -H "Content-Type: application/json" -d '{
"extra_fields": ["web_auth", "web_p256"],
"last_active_since": "1469392779", "segment_name": "Active Users"
}' "https://onesignal.com/api/v1/players/csv_export?app_id=YOUR_APP_ID"

The request requires your OneSignal App's REST_API_Key and APP_ID. You can find this data on the OneSignal service. Go to Settings and then - to the Keys & IDs tab.

The following parameters must be passed in the request body:

FieldDescription
"extra_fields"Additional fields that you wish to include. Currently supports location, country, rooted, notification_types, ip, external_user_id, web_auth, and web_p256.

In our case, you must specify web_auth and web_p256.
"last_active_since"Export all devices with a last_active timestamp greater than this time.
"segment_name"Export all devices belong to the segment

You can use this field to export only the segments you are interested in.

More details about segments in OneSignal: https://documentation.onesignal.com/docs/segmentation.
tip

You can get more information on exporting subscriptions from OneSignal here: https://documentation.onesignal.com/reference/csv-export.

Step 5. Provide the csv file with these fields to the administrator or Altcraft support service​

caution

Skip the step if you are migrating subscriptions configured for the Safari browser.

If the Altcraft platform is deployed inside your business (On-Premise solution), transfer the generated csv file with subscriptions to the platform administrator.

If the platform is installed on the cloud (SaaS solution), transfer the csv file to Altcraft support.

Step 6. Take the processed csv file from the administrator​

caution

Skip the step if you are migrating subscriptions configured for the Safari browser.

Step 7. Import profiles​

Now you can import profiles into Profile Database from a csv file. During the import a subscription to the required provider will be created.

In addition, you have the opportunity to update the database by creating a subscription to the same provider. Please note that in this case it must be one of the Firebase providers.

tip

The provider identifier allows you to find out which browser the subscription belongs to and through which service it was created. Examples of providers: Chrome Firebase, Apple Safari, Mozilla Firefox.

So, create or select a database and click Import customer profiles in the drop-down list.

Select the import method - File. Upload the required csv file with subscriptions.

Click Profiles matching mode and select By push subscription in the drop-down list.

caution

If your csv file contains any data that can be used to configure correspondences between profiles ("match users"), then before the import process, select the appropriate profile search mode.

Click the "Add subscription" button and then configure the subscription:

  1. Channel is Push channel;
  2. Provider is the browser through which the subscription was made. If the user signed up using the Safari browser, then specify Apple Safari. If you don't know the subscription browser, you can import the subscriptions with the Chrome Firebase provider.
  3. Contact data source is the subscription id field from csv file. If the user signed up through the Safari browser, then you need to define this field yourself. For other browsers, you need to specify firebase_push_token here.

Now it's time to configure column mapping:

FieldFor SafariFor other browsers
SubscriptionIDSubscription ID field from csv filefirebase_push_token
ProviderIf the Altcraft provider identifier field is missing in the csv file, then specify the same field as in the SubscriptionID. This will create a new subscriber for each subscription.
caution

In the Skip Lines field, enter "1" if the file contains headers. Otherwise, the headers will be captured on import.

After you click the Import button in the upper right corner of the screen, the process of importing new profiles into the Database will begin.

Once the profiles have been successfully imported, you can check them in the selected Profiles Database. Open the Subscriptions tab to see the new profile subscription for push notifications and information about it.

Last updated on Apr 23, 2023
Previous
How to transfer push subscriptions configured for Safari?
Next
SMS channel
  • Step 1. Get VAPID keys from OneSignal service
  • Step 2. Import the VAPID keys into your Firebase project
  • Step 3. Configure the resource
  • Step 4. Export subscriptions
  • Step 5. Provide the csv file with these fields to the administrator or Altcraft support service
  • Step 6. Take the processed csv file from the administrator
  • Step 7. Import profiles
© 2015 - 2026 Altcraft, LLC. All rights reserved.