# EmailRep Messages API

**Canonical:** https://apis.io/apis/emailrep/emailrep-messages-api/  
**Provider:** EmailRep — https://apis.io/providers/emailrep/  
**Documentation:** https://emailrep.io

EmailRep Messages API is one of 19 APIs that [EmailRep](https://apis.io/providers/emailrep/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Message. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.

The Messages API from EmailRep — 19 operation(s) for messages.

## Operations (19)

| Method | Path | Summary |
|---|---|---|
| POST | `/v0/messages/analyze` | Analyze a raw message |
| POST | `/v0/messages/attachment/image` | Render image for attachment from the raw base64 encoded bytes |
| POST | `/v0/messages/attack_score` | Evaluate attack score for a raw message |
| POST | `/v0/messages/create` | Create message |
| GET | `/v0/messages/groups/{id}/action-state` | Retrieve details about the state of manual actions for a canonical group |
| GET | `/v0/messages/{id}` | Retrieve message |
| POST | `/v0/messages/{id}/actions` | Perform actions on an individual message |
| POST | `/v0/messages/{id}/analyze` | Analyze a message by ID |
| GET | `/v0/messages/{id}/asa_report` | Retrieve ASA report for a message |
| GET | `/v0/messages/{id}/asa_verdict` | Retrieve ASA verdict for a message |
| GET | `/v0/messages/{id}/attachment/{hash}/image` | Retrieve image of PDF attachment by md5 hash |
| GET | `/v0/messages/{id}/attack_score` | Evaluate attack score against an existing message |
| GET | `/v0/messages/{id}/eml` | Retrieve raw EML |
| GET | `/v0/messages/{id}/image` | Retrieve image of message |
| GET | `/v0/messages/{id}/image_link` | Retrieve a temporary link to the image of message |
| POST | `/v0/messages/{id}/justification` | Set access justification |
| GET | `/v0/messages/{id}/message_data_model` | Retrieve the message's Message Data Model |
| POST | `/v0/messages/{id}/restore` | Restore a previously-trashed message |
| POST | `/v0/messages/{id}/trash` | Trash message |

## Machine-readable artifacts (13)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/emailrep/refs/heads/main/openapi/emailrep-messages-api-openapi.yml
- **Documentation** — https://docs.sublime.security/reference/emailrep-introduction
- **APIReference** — https://docs.sublime.security/reference/emailrep-introduction
- **GettingStarted** — https://github.com/sublime-security/emailrep.io#simple-usage
- **SDKs** — https://github.com/sublime-security/emailrep.io-python
- **SDKs** — https://pypi.org/project/emailrep/
- **SDKs** — https://github.com/arnydo/PSEmailRep
- **SDKs** — https://git.rud.is/hrbrmstr/emailrep
- **SDKs** — https://github.com/WestDiscGolf/EmailRep.NET
- **SDKs** — https://github.com/kaiiyer/emailrep
- **SDKs** — https://github.com/vertoforce/go-emailrep
- **CLI** — https://github.com/sublime-security/emailrep.io-python
- **SourceCode** — https://github.com/sublime-security/emailrep.io

## Other EmailRep APIs (12)

- [EmailRep Bin Explode API](https://apis.io/apis/emailrep/emailrep-binexplode-api/)
- [EmailRep DLP release requests API](https://apis.io/apis/emailrep/emailrep-dlp-release-requests-api/)
- [EmailRep Email Bombs API](https://apis.io/apis/emailrep/emailrep-email-bombs-api/)
- [EmailRep Enrichment API](https://apis.io/apis/emailrep/emailrep-enrichment-api/)
- [EmailRep Events in the audit log API](https://apis.io/apis/emailrep/emailrep-events-in-the-audit-log-api/)
- [EmailRep Export API](https://apis.io/apis/emailrep/emailrep-export-api/)
- [EmailRep Hunt Jobs API](https://apis.io/apis/emailrep/emailrep-hunt-jobs-api/)
- [EmailRep Lists API](https://apis.io/apis/emailrep/emailrep-lists-api/)
- [EmailRep Live flow API](https://apis.io/apis/emailrep/emailrep-live-flow-api/)
- [EmailRep Mailboxes API](https://apis.io/apis/emailrep/emailrep-mailboxes-api/)
- [EmailRep Message Groups API](https://apis.io/apis/emailrep/emailrep-message-groups-api/)
- [EmailRep Reports API](https://apis.io/apis/emailrep/emailrep-reports-api/)

## Tags

Message

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/emailrep/emailrep-messages-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/emailrep/.
