> For the complete documentation index, see [llms.txt](https://api-docs.islash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.islash.io/messages/get-message-by-wamid.md).

# Get Message By WAMID

## Retrieve a message by WhatsApp Message ID

> Retrieves a specific message from the iSlash system using its WhatsApp Message ID (wamid).

```json
{"openapi":"3.0.0","info":{"title":"iSlash API","version":"1.0.1"},"servers":[{"url":"https://{ISLASH_API_ENDPOINT}/api/public","variables":{"ISLASH_API_ENDPOINT":{"default":"{ISLASH_API_ENDPOINT}","description":"The base hostname for the iSlash API platform."}}}],"paths":{"/message":{"get":{"summary":"Retrieve a message by WhatsApp Message ID","description":"Retrieves a specific message from the iSlash system using its WhatsApp Message ID (wamid).","parameters":[{"in":"header","name":"X-USER-TOKEN","schema":{"type":"string"},"required":true,"description":"The secret key provided by iSlash for accessing the iSlash API platform."},{"in":"query","name":"session","schema":{"type":"string"},"required":true,"description":"The session key generated by your admin to control which channel can access messages via the API."},{"in":"query","name":"wamid","schema":{"type":"string"},"required":true,"description":"The WhatsApp Message ID of the message to retrieve."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["meta","data"],"properties":{"meta":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"The response status code."},"message":{"type":"string","description":"A message describing the response status."}}},"data":{"type":"object","required":["message"],"properties":{"message":{"type":"object","required":["id","conversation_id","status","body","direction"],"properties":{"id":{"type":"integer","description":"The message ID in the iSlash system."},"conversation_id":{"type":"integer","description":"The conversation ID in iSlash."},"status":{"type":"string","enum":["pending","sent","delivered","read","error"],"description":"The status of the message."},"body":{"type":"string","description":"The body of the message."},"media_type":{"type":"string","description":"The media type of the message, if applicable.","nullable":true},"media_url":{"type":"string","description":"The URL of the media, if applicable.","nullable":true},"sid":{"type":"string","description":"The WAMID from WhatsApp.","nullable":true},"direction":{"type":"string","enum":["inbound","outbound","system"],"description":"The direction of the message (inbound, outbound, system)."},"sent_at":{"type":"integer","description":"The timestamp when the message was sent.","nullable":true},"delivered_at":{"type":"integer","description":"The timestamp when the message was delivered.","nullable":true},"received_at":{"type":"integer","description":"The timestamp when the message was received.","nullable":true},"read_at":{"type":"integer","description":"The timestamp when the message was read.","nullable":true}}}}}}}}}}}}}}}
```
