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

Seek Message resource


Seek retrieves a message using an identifier obtained from another system. This is useful for cross-referencing messages between Twilio and external platforms.


Seek a Message by Identifier

seek-a-message-by-identifier page anchor

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

Retrieve a message based on an identifier from another system.

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 IdentifierLink to code sample: Seek a Message by Identifier
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();