This endpoint is used to add a segment. The request method of this call needs to be "POST".

The segment name has to be sent as a POST parameter to the API endpoint.

The segment name can be a maximum of 30 chars. It may only contain alphanumeric characters, underscore or a dash.

Response Description

Status: To denote whether the request succeeded or not. Values can be 'success' or 'failure'.

Segment ID: To identify the segment newly created. The same ID is used to add/remove subscribers to/from the segment through the API.

Message: Present in case of failure. Used to denote reason of failure.

Language
Credentials
Header