Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v74
  • v74
  • v73
  • v72
Login
  • User API documentation
  • API interaction
  • Matching
  • Profiles
  • Databases
  • Resources
  • Segments
  • Suppression lists
  • Templates and fragments
  • Campaigns
  • Mailings
  • Automation scenarios
    • Engage profile in scenario
    • Import and engage profile in scenario
    • Batch import and engage profiles in a scenario
    • Task for batch import and engaging profiles in the scenario
    • Get scenarios list
    • Activate scenario
    • Deactivate scenario
  • Loyalty Programs
  • Promo codes
  • Goals
  • Application push notifications
  • Market
  • Analytic reports
  • SendersDev
  • External datatables queries
  • Objects
  • Miscellaneous
  • Importing the API collection in Postman
  • List of API endpoints
  • SDK
  • Automation scenarios
  • Activate scenario
Documentation for version v74

Activate scenario

Description​

The request is used to activate a scenario.

URL​

Method: POST

https://example.com/api/v1.1/workflows/activate

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
idint1YesScenario ID
skip_profilesbooltrueNoClear the scenario before reactivating

Request example​

  • JSON
  • XML
{  
"token": "abcdefghijklmnqrstuvwxyz",
"id": 1,
"skip_profiles": true
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<id>1</id>
<skip_profiles>true</skip_profiles>
</xml>

Response example​

  • JSON
  • XML
{
"data": null,
"error": 0,
"error_text": "Successful operation"
}
<xml>
<data/>
<error>0</error>
<error_text>Successful operation</error_text>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
Last updated on Mar 27, 2025
Previous
Get scenarios list
Next
Deactivate scenario
  • Description
  • URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.