<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/MIDISysexSendRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core MIDI"
    ],
    "preciseIdentifier" : "c:@S@MIDISysexSendRequest"
  },
  "title" : "MIDISysexSendRequest"
}
-->

# MIDISysexSendRequest

A request to asynchronously send a single system-exclusive (SysEx) event to a destination.

```
struct MIDISysexSendRequest
```

## Topics

### Creating a request

[`init(destination:data:bytesToSend:complete:reserved:completionProc:completionRefCon:)`](/documentation/CoreMIDI/MIDISysexSendRequest/init(destination:data:bytesToSend:complete:reserved:completionProc:completionRefCon:))

Creates a new single system-exclusive (SysEx) event request.

### Configuring a request

[`destination`](/documentation/CoreMIDI/MIDISysexSendRequest/destination)

The endpoint to send the event to.

[`data`](/documentation/CoreMIDI/MIDISysexSendRequest/data)

The request’s data.

[`bytesToSend`](/documentation/CoreMIDI/MIDISysexSendRequest/bytesToSend)

The number of bytes to send.

[`complete`](/documentation/CoreMIDI/MIDISysexSendRequest/complete)

A Boolean value that indicates whether the transmission is complete.

[`MIDICompletionProc`](/documentation/CoreMIDI/MIDICompletionProc)

A function the system calls after it completely sends a system-exclusive (SysEx) event.

[`completionProc`](/documentation/CoreMIDI/MIDISysexSendRequest/completionProc)

A function that the system calls after it sends all bytes for the request, or after the client marks the request as complete.

[`completionRefCon`](/documentation/CoreMIDI/MIDISysexSendRequest/completionRefCon)

Data to pass to the completion function.

[`reserved`](/documentation/CoreMIDI/MIDISysexSendRequest/reserved)

A field that’s reserved for future use.

### Sending a request

[`MIDISendSysex(_:)`](/documentation/CoreMIDI/MIDISendSysex(_:))

Asynchronously sends a single system-exclusive (SysEx) event.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)