Getting Status of Messaging Report (unprocessed)

Ashley Parks -

GET /api/v2/momt_reports/:id

Request

Headers

Accept: application/json
Content-Type: application/json
Authorization: Basic dGF0YW5nbzp0YXRhbmdvX2tleV9pTDB4R2xrZmJuUTRFVUtPajg4ZTRn

Host: example.org
Cookie: 

Route

GET /api/v2/momt_reports/1

cURL

curl "https://app.tatango.com/api/v2/momt_reports/1" -X GET \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-u tatango:tatango_key_iL0xGlkfbnQ4EUKOj88e4g \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json; charset=utf-8
X-Meta-Request-Version: 0.2.6
Content-Security-Policy: default-src https: 'self'; connect-src http: https: 'self' wss://*.intercom.io; img-src https: 'self'; script-src 'self' *.intercom.io *.intercomcdn.com 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; report-uri /uri-directive
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 1; mode=block
X-UA-Compatible: IE=Edge,chrome=1
ETag: "403f6cadb052137fa53d00bda4d49bd6"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 3b2daf8f38edcaf33e415eeb049b0e7e
X-Runtime: 0.014216
Set-Cookie: __profilin=p%3Dt; path=/
Content-Length: 577

Status

200 OK

Body

{"status":"OK","momt_report":{"account_id":1,"campaign":null,"carrier":null,"counts_calculated":false,"created_at":"2016-08-04T16:43:59-07:00","date_from":"2016-07-26T00:43:59.694+01:00","date_range":"json","date_to":"2016-08-05T00:43:59.695+01:00","direction":null,"id":1,"import_completed_at":null,"import_started_at":null,"is_csv":false,"mo_count":0,"mt_count":0,"percent_complete":0,"phone_number":null,"processed_rows":0,"s3_url":null,"shortcode":null,"status_array":null,"total_rows":null,"type":null,"updated_at":"2016-08-04T16:43:59-07:00","webhook_callback_url":null}}
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.