---
title: "MappTriggerExport: Create job"
method: POST
path: "/job/mapp-trigger-export"
tags: ["Jobs"]
---

# MappTriggerExport: Create job

`POST /job/mapp-trigger-export`

## Request

- Base URL: `https://api.lytics.io/v2`
- URL: `https://api.lytics.io/v2/job/mapp-trigger-export`
- Auth: API key in header `Authorization`

Create a MappTriggerExport job

## Query parameters

- `account_id` string

## Request body `*/*`

- object
  - `auth_ids` string[]: Authorization IDs associated with the Job
  - `config` object, required: Job configuration, unique per-workflow
    - `backfill_only` boolean: Select this to do a one-time export of the selected audience. Note that if this option is selected, Existing Users must also be selected
    - `create_users` boolean: Select this to create users who do not exist in Mapp. By default, only users who exist already will be updated.
    - `dynamic_attribute_prefix` string: Enter the custom dynamic attribute prefix associated with your Group ID. Value must end with '_'. If Enable Dynamic Attributes is selected and this is left blank, the Group ID will be used as the prefix
    - `enable_dynamic_attributes` boolean: Select to create member attributes dynamically in Mapp
    - `group_id` string, required: The Mapp Group ID you wish to export to
    - `mapp_attribute_name` string: Enter the name of the Mapp user attribute to update profiles with. If this is empty, the workflow will attempt to use the Lytics audience slug as the attribute name. Note that unless Enable Dynamic Attributes is selected, this attribute name must be mapped to an existing member attribute in Mapp Connect
    - `segment_id` string, required: The name of the audience that contains the users to export data from
    - `uid_field` string, required: Select the field that contains a user's identifier
    - `withbackfill` boolean: Select this to immediately push users who currently exist in the selected Lytics audience. Deselecting will only push users as they leave or enter the audience
  - `description` string: A user-defined description
  - `drop_events_during_quiet_window` boolean
  - `expires_at` string, date-time
  - `monitoring` object: Inline monitoring config. On write: omit to keep, null to clear, or a config to set.
  - `name` string, required: A user-defined name
  - `quiet_period` integer
  - `quiet_time_of_day` string
  - `quiet_timezone` string

## Response `201`

MappTriggerExport Job

- object
  - `_meta` object: Response Metadata
  - `data` object: Response Payload
    - `account_id` string: Lytics Account ID
    - `anomaly_rule` ModelsAnomalyRuleResp
      - `aid` integer
      - `checks` ModelsRuleCheckConfigReq[]
        - `allowable_violations` integer
        - `interval` string
        - `lookback_count` integer
        - `max_threshold` integer
        - `metric_type` string
        - `min_threshold` integer
        - `type` string
        - `variance_pct` number
      - `created` string
      - `id` string
      - `subject_id` string
      - `subject_type` string
      - `updated` string
    - `api_token_auth_id` string: this is set when work is create using access token
    - `auth_ids` string[]: Authorization IDs associated with the Job
    - `config` object, required: Job configuration, unique per-workflow
      - `backfill_only` boolean: Select this to do a one-time export of the selected audience. Note that if this option is selected, Existing Users must also be selected
      - `create_users` boolean: Select this to create users who do not exist in Mapp. By default, only users who exist already will be updated.
      - `dynamic_attribute_prefix` string: Enter the custom dynamic attribute prefix associated with your Group ID. Value must end with '_'. If Enable Dynamic Attributes is selected and this is left blank, the Group ID will be used as the prefix
      - `enable_dynamic_attributes` boolean: Select to create member attributes dynamically in Mapp
      - `group_id` string, required: The Mapp Group ID you wish to export to
      - `mapp_attribute_name` string: Enter the name of the Mapp user attribute to update profiles with. If this is empty, the workflow will attempt to use the Lytics audience slug as the attribute name. Note that unless Enable Dynamic Attributes is selected, this attribute name must be mapped to an existing member attribute in Mapp Connect
      - `segment_id` string, required: The name of the audience that contains the users to export data from
      - `uid_field` string, required: Select the field that contains a user's identifier
      - `withbackfill` boolean: Select this to immediately push users who currently exist in the selected Lytics audience. Deselecting will only push users as they leave or enter the audience
    - `created` string
    - `deleted` boolean: The Job has been deleted
    - `description` string: A user-defined description
    - `drop_events_during_quiet_window` boolean
    - `expires_at` string, date-time
    - `id` string: A Lytics-assigned, immutable unique ID for the Job
    - `meta` object: Extra meta data about the job
    - `monitoring` object: Inline monitoring config. On write: omit to keep, null to clear, or a config to set.
    - `name` string, required: A user-defined name
    - `quiet_period` integer
    - `quiet_time_of_day` string
    - `quiet_timezone` string
    - `sleep_until` string
    - `status` 'runnable' | 'sleeping' | 'paused' | 'completed' | 'fault' | 'failed' | 'killed' | 'deleted' | 'unknown': The status of the job
    - `updated` string
    - `user_id` string: The user ID that created or updated the job
    - `workflow` string: The workflow slug
    - `workflow_id` string: The workflow ID
  - `request_id` string
  - `status` integer: HTTP Status Code

## Other responses

- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-11-03** `d8e975057aec`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lytics/apis/lytics-api/changes/job/mapp-trigger-export/post.md)

---

[API](https://skmtc.dev/lytics/apis/lytics-api.md) - [All operations](https://skmtc.dev/lytics/apis/lytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lytics/apis/lytics-api/revisions/d8e975057aec?raw)
