Daren
Daren

Reputation: 11

Twilio pull SMS message logs by status

Is it possible to pull only message logs with a status of Undelivered via the API? Trying to pull a full months worth of logs and iterating over everything takes a very long time.

Upvotes: 0

Views: 530

Answers (1)

Andy
Andy

Reputation: 698

Looking at https://www.twilio.com/docs/api/rest/message#list-get it looks like you can only filter by To, From and DateSent.

Eg.

/2010-04-01/Accounts/{AccountSid}/Messages?To=12345678901

I agree that being able to filter by Status would be very useful.

Upvotes: 1

Related Questions