Get Query Status
curl --request GET \
--url https://api-{dc}.moengage.com/v5/analytics/query/{request_id}/status \
--header 'Authorization: Basic <encoded-value>'{
"response_id": "199fb3c9-373f-4fe6-a40f-76185ef02b88",
"type": "query_status",
"data": {
"status": "SUCCESSFUL"
}
}Returns the execution status of a registered query. Poll this endpoint until the query reaches a terminal status, then fetch the results.
GET
/
v5
/
analytics
/
query
/
{request_id}
/
status
Get Query Status
curl --request GET \
--url https://api-{dc}.moengage.com/v5/analytics/query/{request_id}/status \
--header 'Authorization: Basic <encoded-value>'{
"response_id": "199fb3c9-373f-4fe6-a40f-76185ef02b88",
"type": "query_status",
"data": {
"status": "SUCCESSFUL"
}
}Authorizations
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). Find it in the MoEngage dashboard at Settings > Account > API keys.
- Password: Use an API key from Settings > Account > API keys.
Refer to API Key Dashboard for details on creating and managing API keys.
Path Parameters
The request_id returned when the query was registered.
Example:
"REQUEST_ID"
Response
This response is returned when the request is processed successfully.