# 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}}}}}}}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-docs.islash.io/messages/get-message-by-wamid.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
