Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page
Looking for more inspiration?Visit the

Seek Message resource


The Seek Message resource retrieves the Bulk Messaging Message and Operation associated with an SM or MM message SID from a downstream service such as Programmable Messaging.

Use Seek when you have an SM or MM SID from a downstream messaging service and need to find the corresponding Bulk Messaging records, for example, to cross-reference delivery status between the two systems.


Seek a Message by SID

seek-a-message-by-sid page anchor

GET https://comms.twilio.com/v1/Messages/Seek/{identifier}

Retrieve a Message using its SM or MM SID. The {identifier} path parameter accepts only an SM or MM SID from a downstream messaging service.

Path parameters

path-parameters page anchor
Property nameTypeRequiredPIIDescription
identifierstring
required
Not PII

The unique identifier that belongs to a Message. This will be used to seek out the message.

301400404429500503

This redirects to the Message of which this identifier belongs.

Seek a Message by SIDLink to code sample: Seek a Message by SID
1
import { TwilioClient } from "twilio-comms";
2
3
async function main() {
4
const client = new TwilioClient({
5
accountId: "TWILIO_ACCOUNT_SID",
6
authToken: "TWILIO_AUTH_TOKEN",
7
});
8
await client.messages.seekByIdentifier("identifier");
9
}
10
main();