---
title: "Retrieve a list of journey activation templates of specified step"
method: POST
path: "/entities/journeys/{journeyId}/activation_templates_for_step"
tags: ["Journeys"]
---

# Retrieve a list of journey activation templates of specified step

`POST /entities/journeys/{journeyId}/activation_templates_for_step`

Retrieve a list of journey activation templates of specified step.

## Path parameters

- `journeyId` integer, required

## Query parameters

- `stepId` string, uuid

## Response `200`

Returns a list of available behavior table of specified journey

- EntitiesActivationTemplateIndexJsonApiResponse
  - `data` ActivationTemplateIndexJsonApiResponse[], required
    - `id` string
    - `type` 'activation-template'
    - `attributes` object
      - `audienceId` string, required
      - `name` string, required
      - `description` string, nullable, required
      - `kind` integer — 0: batch, 1: batch_journey
      - `allColumns` boolean — activation all column flag ('true' means that you use all attribute data)
      - `columns` union
        - object[] — Syndication column detail. Basic syntax is `{"column": "alias_name", "source": {...}}`. `source` accepts various definitions. See ColumnExpression/StringExpression for details. example value is using ColumnExpression without `function` property.
          - `id` string, uuid
          - `column` string, required
          - `source` union, required
            - ColumnExpression
              - …
            - StringExpression
              - …
        - NullValue, nullable
          - `thisKeyNeverHit` string
      - `scheduleType` 'cron' | 'daily' | 'hourly' | 'minutes_interval' | 'monthly' | 'none' | 'weekly' — Deprecated. Old parameter for setting schedule type. See/Use RepeatUnit instead.
      - `scheduleOption` string, nullable
      - `timezone` string, nullable
      - `startAt` string, ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$, nullable — cdp-api will fill some value for old syndications with ScheduleType is not NoneType. '%Y-%M-%DT%h:%m:%s' is expected.
      - `endOn` string, date, nullable
      - `repeatUnit` 'none' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'once' — Setting an activation repetition cycle such as "day" or "week".
      - `repeatFrequency` integer — Setting an activation repeat frequency. Currently, it is set only when the repeat unit is "minute". If the repeat unit is "minute", the interval is set in minutes.
      - `repeatSubFrequency` integer[] — Parameter for more detailed frequency settings. Values are array of integers. Currently, this parameter is only valid for repeat unit "week". For multiple days of the week, each value should be 1 to 7. 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday, 7: Sunday
      - `connectionId` string, nullable
      - `connectorConfig` object, nullable
      - `notifyOn` string[]
      - `emailRecipients` integer[]
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
      - `state` 'draft' | 'published'
      - `nestedWorkflowProjectName` string, nullable
      - `nestedWorkflowName` string, nullable
      - `activationActionsEnabled` boolean
      - `lockEnabled` boolean
      - `runAfterJourneyRefresh` boolean, nullable — If true, this activation step will be executed immediately after the journey is refreshed. Only available for kind of journey.
      - `syndicationBehavior` ActivationTemplateSyndicationBehaviorProperties
        - `columns` object[] — Syndication column detail. Basic syntax is `{"column": "alias_name", "source": {...}}`. `source` accepts various definitions. See ColumnExpression/StringExpression for details. example value is using ColumnExpression without `function` property.
          - `id` string, uuid
          - `column` string, required
          - `source` union, required
            - ColumnExpression
              - …
            - StringExpression
              - …
        - `behaviorTableName` string — Behavior table name which contains behavior records
        - `joinRow` integer, nullable — How much rows would be joined (value is N for Top-N join)
        - `joinStrategy` 'All' | 'First' | 'Last' | 'Top-N'
        - `formatting` 'rows' | 'cols'
        - `orderBy` object[]
          - `key` string
          - `order` 'ascending' | 'descending'
      - `fieldProperties` ActivationTemplateFieldProperties — activation template field properties
        - `locked` ActivationTemplateFieldPropertiesLocked, required — activation template field properties locked
          - `allColumns` boolean
          - `columns` object
          - `connectionId` boolean
          - `connectorConfig` object, nullable
          - `activationActionsEnabled` boolean
          - `syndicationBehavior` object, nullable
            - `tableName` string — Behavior table name which contains behavior records
            - `columns` object
            - `lockAddColumn` boolean
            - `lockDeleteBehaviorTable` boolean
            - `lockEditBehaviorTable` boolean
            - `lockEditJoinRow` boolean
            - `lockEditJoinStrategy` boolean
            - `lockEditFormatting` boolean
            - `lockEditOrderBy` boolean
          - `lockAddColumn` boolean
          - `lockAddString` boolean
          - `lockAddBehavior` boolean
          - `lockEditSchedule` boolean
          - `lockEditNotification` boolean
          - `lockEditWorkflowExecution` boolean
          - `lockEditSequentialActivation` boolean
      - `activationCount` integer — Number of related activations
      - `available` boolean — This template is available or not (It contains PBP PII BLOCKED columns or not)
      - `availableBySegment` boolean — This template is available by the segment or not (It return only with `availableBySegmentId` parameter)
      - `availableByStep` boolean — This template is available by the step or not (It is returned only when `/entities/journeys/{journeyId}/activation_templates_for_step` is called)
    - `relationships` object
      - `parentFolder` RelationshipsFolderJsonApiResource
        - `data` object
          - `id` string, required
          - `type` 'folder-segment', required
      - `createdBy` RelationshipsUserJsonApiResource
        - `data` object, nullable
          - `id` string, required
          - `type` 'user', required
      - `updatedBy` RelationshipsUserJsonApiResource
        - `data` object, nullable
          - `id` string, required
          - `type` 'user', required
  - `included` UserJsonApiResource[], required
    - `id` string, required
    - `type` 'user', required
    - `attributes` object, required
      - `tdUserId` string, required
      - `name` string, required

---

[API](https://skmtc.net/treasure/apis/cdp-api.md) · [All operations](https://skmtc.net/treasure/apis/cdp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treasure/cdp-api/revisions/24caa8eb809b/schema)
