# Return a send event

> **GET** `https://api.us.nylas.com/v3/activity/send/{event_id}`

Source: https://developer.nylas.com/docs/reference/api/send-events/get-send-event/

Returns one send event by its ID, such as an event you received earlier from the list endpoint.

**Authentication:** NYLAS_API_KEY

## Parameters

### Path parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `event_id` | string, pattern: `^[0-9a-f]{64}$` | Yes | The ID of the event, as returned in the event's `id` field. |

## Responses

### 200 - Success. Returns the send event.

- `request_id` (string) - The request ID.
- `data` (object) - One thing that happened to a message for one recipient.
  - `id` (string) - The ID of the event.
  - `event_type` (string, one of: `accepted`, `delivered`, `bounced`, `complaint`, `rejected`) - What happened. `accepted` means Nylas accepted the message for delivery. `delivered` means the
recipient's mail server accepted it. `bounced` means it wasn't delivered. `complaint` means the
recipient marked it as spam. `rejected` means Nylas didn't send it because of bad content.
  - `bounce_class` (string, one of: `hard`, `soft`, `undetermined`) - For a bounce, whether it's permanent (`hard`), temporary (`soft`), or unclassified
(`undetermined`). Stop sending to addresses that hard-bounce.
  - `timestamp` (integer, format: int64) - When the event happened, as a Unix timestamp in seconds.
  - `application_id` (string) - The ID of your Nylas application.
  - `grant_id` (string) - The Agent Account grant that sent the message. Empty for a transactional send.
  - `message_id` (string) - The ID of the message. For a transactional send, this is the message's `Message-ID` header.
  - `thread_id` (string) - The Agent Account thread the message belongs to. Empty for a transactional send.
  - `from` (string) - The email address the message was sent from.
  - `sending_domain` (string) - The domain the message was sent from.
  - `recipient` (string) - The recipient's email address.
  - `recipient_domain` (string) - The recipient's domain.
  - `subject` (string) - The message subject.
  - `reason` (string) - A short summary of why the event happened, such as the bounce subtype and status code, the
SMTP response for a delivery, or the feedback type for a complaint. Empty for `accepted`.
  - `detail` (object) - Delivery details reported by the recipient's mail server. Only the fields that apply to the event
are included.
    - `smtp_response` (string) - The SMTP response from the recipient's mail server.
    - `processing_time_ms` (integer) - How long delivery took, in milliseconds.
    - `reporting_mta` (string) - The mail server that reported the event.
    - `remote_mta_ip` (string) - The IP address of the recipient's mail server.
    - `bounce_type` (string) - The bounce type, such as `Permanent` or `Transient`.
    - `bounce_subtype` (string) - The bounce subtype, such as `General`, `NoEmail`, `MailboxFull`, or `Suppressed`. `Suppressed`
means the address is on a suppression list because of an earlier bounce or complaint.
    - `status` (string) - The enhanced SMTP status code.
    - `action` (string) - The delivery action the mail server reported.
    - `diagnostic_code` (string) - The diagnostic message from the recipient's mail server.
    - `feedback_type` (string) - For a complaint, the type of feedback the mailbox provider reported, such as `abuse`.
    - `complaint_subtype` (string) - For a complaint, the complaint subtype, if the provider reported one.

### 401 - Unauthorized

- `request_id` (string) - The request ID.
- `error` (object) - The response error object.
  - `type` (string) - The error type.
  - `message` (string) - The error message.
  - `provider_error` (object) - The error from the provider.

### 403 - Forbidden. These endpoints need your application's API key, not a grant access token.

- `request_id` (string) - The request ID.
- `error` (object) - The response error object.
  - `type` (string) - The error type.
  - `message` (string) - The error message.

### 404 - Not found. Nylas has no send events for this ID in the last 90 days.

- `request_id` (string) - The request ID.
- `error` (object) - The response error object.
  - `type` (string) - The error type.
  - `message` (string) - The error message.

## Code samples

### cURL

```bash
curl --request GET \
  --url "https://api.us.nylas.com/v3/activity/send/<EVENT_ID>" \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer <NYLAS_API_KEY>'
```
