v2 API Reference
Accounts
Lists
Subscribers
Messaging
Message Log (MOMT) Reports
Transactional Messages
Message Log (MOMT) Reports
Creating a New MOMT Report
This endpoint creates a new MOMT Report.
Copy
Ask AI
curl "https://app.tatango.com/api/v2/momt_reports" -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-u emailaddress@mydomain.com:my_api_key \
-d '{"date_from":"2016-08-08T22:10:41+01:00","date_to":"2016-09-07T22:10:41+01:00","webhook_callback_url":null}'
Copy
Ask AI
{
"status": "OK",
"momt_report": {
"id": 3,
"account_id": 22,
"s3_url": null,
"import_started_at": null,
"import_completed_at": null,
"total_rows": null,
"processed_rows": 0,
"percent_complete": 0,
"mo_count": 0,
"mt_count": 0,
"shortcode": null,
"date_range": "json",
"date_from": "2016-08-08T22:10:41+01:00",
"date_to": "2016-09-07T22:10:41+01:00",
"campaign": null,
"carrier": null,
"phone_number": null,
"direction": null,
"status_array": null,
"created_at": "2016-09-07T14:10:41-07:00",
"updated_at": "2016-09-07T14:10:41-07:00",
"counts_calculated": false,
"type": null,
"is_csv": false,
"webhook_callback_url": null,
"run_errors": null,
"message_type": null,
"cancelled": null
}
}
Request URL
Copy
Ask AI
POST https://app.tatango.com/api/v2/momt_reports
Authorizations
Tatango authenticates API requests by validating an API key passed via HTTP Basic Authentication. Use your login email as the username and your API key as the password.
Body
application/json
Response
200 - application/json
Successful response
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl "https://app.tatango.com/api/v2/momt_reports" -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-u emailaddress@mydomain.com:my_api_key \
-d '{"date_from":"2016-08-08T22:10:41+01:00","date_to":"2016-09-07T22:10:41+01:00","webhook_callback_url":null}'
Copy
Ask AI
{
"status": "OK",
"momt_report": {
"id": 3,
"account_id": 22,
"s3_url": null,
"import_started_at": null,
"import_completed_at": null,
"total_rows": null,
"processed_rows": 0,
"percent_complete": 0,
"mo_count": 0,
"mt_count": 0,
"shortcode": null,
"date_range": "json",
"date_from": "2016-08-08T22:10:41+01:00",
"date_to": "2016-09-07T22:10:41+01:00",
"campaign": null,
"carrier": null,
"phone_number": null,
"direction": null,
"status_array": null,
"created_at": "2016-09-07T14:10:41-07:00",
"updated_at": "2016-09-07T14:10:41-07:00",
"counts_calculated": false,
"type": null,
"is_csv": false,
"webhook_callback_url": null,
"run_errors": null,
"message_type": null,
"cancelled": null
}
}
Assistant
Responses are generated using AI and may contain mistakes.