campaign-variants

List, add, or remove campaign message arms. Safety limit: one step and one added/removed arm per call. Example: action='

post/api/v1/campaigns/{campaign_id}/steps/{step_index}/variants

Request

  • Base URL: https://crispy.sh
  • URL: https://crispy.sh/api/v1/campaigns/{campaign_id}/steps/{step_index}/variants
  • Auth: HTTP bearer

Path parameters

campaign_idstring required

Path parameter: campaign_id

step_indexstring required

Path parameter: step_index

Request body

labelstring

Required for action='add' or action='remove'. Short label for the variant (e.g. 'B').

message_templatestring

Required for action='add'. Message template text for this variant. Supports {first_name}, {company}, etc.

subjectstring

Optional for action='add'. Subject line for InMail steps.

target'sequence' | 'follow_up'

Which step array to target. 'sequence' (default) = pre-send. 'follow_up' = post-acceptance.

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.