---
title: "Create Sequence"
method: POST
path: "/targets/{target_id}/sequences/"
tags: ["Navigation and Login Sequences"]
---

# Create Sequence

`POST /targets/{target_id}/sequences/`

## Path parameters

- `target_id` string, required

## Query parameters

- `include` 'target'

## Request body

- SequencesContentRequiredSchema
  - `id` string, required — A unique Base58 value identifying this object.
  - `name` string, nullable, required
  - `requires_authentication` boolean
  - `type` 'login' | 'navigation' — * `login` - Login * `navigation` - Navigation
  - `enabled` boolean
  - `index` integer, nullable, required
  - `custom_field_mappings` CustomFieldMapping[]
    - `name` string, required
    - `value` string, required
    - `value_is_sensitive` boolean — Controls [sensitivity and obfuscation](https://help.probely.com/en/articles/12141165-how-to-manage-secrets-and-sensitive-data-in-snyk-api-web) of `value` field. If `true` the field is masked on Interfaces and Audit logs. When account's **Secrets Obfuscation setting** is also enabled, the API's field output will be `OBFUSCATED_<HASH>`.
  - `content` string, required — Contents of a sequence of browser navigation steps recorded by Snyk API and Web Sequence Recorder

## Response `201`

- SequencesContentRequiredSchema
  - `id` string, required — A unique Base58 value identifying this object.
  - `name` string, nullable, required
  - `requires_authentication` boolean
  - `type` 'login' | 'navigation' — * `login` - Login * `navigation` - Navigation
  - `enabled` boolean
  - `index` integer, nullable, required
  - `custom_field_mappings` CustomFieldMapping[]
    - `name` string, required
    - `value` string, required
    - `value_is_sensitive` boolean — Controls [sensitivity and obfuscation](https://help.probely.com/en/articles/12141165-how-to-manage-secrets-and-sensitive-data-in-snyk-api-web) of `value` field. If `true` the field is masked on Interfaces and Audit logs. When account's **Secrets Obfuscation setting** is also enabled, the API's field output will be `OBFUSCATED_<HASH>`.
  - `content` string, required — Contents of a sequence of browser navigation steps recorded by Snyk API and Web Sequence Recorder

## Other responses

- `400`
- `401`
- `404`
- `500`

---

[API](https://skmtc.net/probely/apis/snyk-api-web-s-api-reference-documentation.md) · [All operations](https://skmtc.net/probely/apis/snyk-api-web-s-api-reference-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/probely/snyk-api-web-s-api-reference-documentation/revisions/e29879bff01b/schema)
