Skip to main content
POST
Trigger File Imports

Rate Limit

You can trigger this API once in every five minutes for a specific schedule_id. A Bad request response (400) response will be sent if this is exceeded.

承認

Authorization
string
header
必須

Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.

  • Username: Use your MoEngage workspace ID (also known as the App ID). You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
  • Password: Use your API Key, which you can find within the Data tile.

Note: After you generate and save the Data API Key, DO NOT generate a new key unless there is a security breach. After you generate a different Data API key and save it, the authentication will start failing. You must update your existing data tracking.

For more information on authentication and getting your credentials, refer here.

Data APIs also support OAuth 2.0. For more information, refer to OAuth 2.0.

ヘッダー

MOE-APPKEY
string
必須

This is the Workspace ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).

パスパラメータ

schedule_id
string
必須

This field specifies the Import ID (the unique identifier for the import) of the import that needs to be triggered. You can find the Import ID in the MoEngage Dashboard on the Imports History page. Click Actions > View import to view the Import Details. You can also view the Import ID in the email notification received once the import has been set up.

レスポンス

This response is returned when the request is processed successfully.

status
string

This field contains the status of the request and specifies whether the request was successful.

例:

"success, failure"

message
string

This field contains information about whether the request was successful or not.

例:

"Trigger Import Successful"