How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

MoEngage File Segments API

If you need to create segments by importing a large number of users, we recommend utilising the File segment API. This API allows you to easily generate a file segment by initiating a call to the file segment API endpoint. To proceed, you will need to compile a CSV file containing the relevant users (ensuring that the users are already present in MoEngage). It is essential to provide the public path of the file, which allows for downloading and identification of users in order to successfully create the file segment.Use the File Segment API to:* Create a new file segment* Add users to an existing segment* Remove users from an existing segment* Replace users from an existing segment

MoEngage File Segments API is one of 46 APIs that MoEngage publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include File Segments. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 4 operations across 4 paths, and defines 6 schemas. It is described by OpenAPI 3.2.0, at version 3.0.

Requests are made against a single base URL, https://api-{dc}.moengage.com.

4 operations 4 paths 6 schemas 1 POST3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
3.0
Base URL
https://api-01.moengage.com/v1
Authentication
HTTP Basic
Resource Areas
1

Authentication & Security 1

MoEngage File Segments API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • basicAuth — Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'. - Username: Use your MoEnga…

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 1 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

File Segments 4

If you need to create segments by importing a large number of users, we recommend utilising the File segment API. This API allows you to easily generate a file segment by initiati…

POST
/v2/custom-segments/file-segment
Create File Segment
createFileSegment 2 params body → 200202400401409429500502
PUT
/v2/custom-segments/file-segment/add-users
Add Users to File Segment
addUsersToFileSegment 2 params body → 202400401404429500
PUT
/v2/custom-segments/file-segment/remove-users
Remove Users from File Segment
removeUsersFromFileSegment 2 params body → 202400401404429500
PUT
/v2/custom-segments/file-segment/replace
Replace Users from File Segment
replaceUsersInFileSegment 2 params body → 202400401404429500

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are CallbackV2 (8 properties), BaseSegmentRequestV2 (6 properties), ApiResponseSuccessV2 (4 properties), ApiErrorV2 (2 properties). Each schema is shown below with its type and property counts.

CreateSegmentRequestV2
Schema for creating a new file segment.
ApiResponseSuccessV2
object
4 properties
UpdateSegmentRequestV2
Schema for updating an existing file segment (add, remove, replace users).
CallbackV2
object
The payload sent to the callback URL. The structure depends on the processing status.
8 properties 4 required
BaseSegmentRequestV2
object
6 properties 4 required
ApiErrorV2
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

moengage-file-segments-api-openapi.yml Raw ↑

Other APIs MoEngage publishes across the network.

MoEngage MCP Server
MoEngage Bulk API
MoEngage Business Events API
MoEngage Campaign Reports API
MoEngage Cards API
MoEngage Catalog API
MoEngage Cohort Sync API
MoEngage Content Blocks API
MoEngage Coupon Files API
MoEngage Coupon Lists API
MoEngage Create Campaigns API
MoEngage Dashboards API
Where this information came from

This is an independent, third-party profile of MoEngage File Segments API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.