# Create a lead segment **POST /lead-segments** Create a lead segment ## Servers - https://api.staging.pexipengage.com/enterprises/acme: https://api.staging.pexipengage.com/enterprises/acme () ## Authentication methods - O auth2 ## Parameters ### Headers - **Authorization** (string) Bearer token used for authorization - **X-Correlation-Id** (string) Unique identifier to allow referencing a particular transaction or event chain ### Body: application/json (object) - **description** (string | null) - **code** (string) REPEATVISITOR ## Responses ### 201 Successful operation #### Body: application/json (object) - **data** (object) ### 422 Business validation failed * `LEAD_SEGMENT_CODE_ALREADY_IN_USE` See [Error codes](#topic-error-codes) #### Body: application/json (object) - **errors** (array[object]) [Powered by Bump.sh](https://bump.sh)