Apex RelayActionResponse
  • 05 Sep 2025
  • 1 Minute to read
  • Dark
    Light

Apex RelayActionResponse

  • Dark
    Light

Article summary

The RelayActionResponse is returned by the RelayOnboardAction and the RelayMessageAction actions. It contains the result of the executed action.

FIELD

DESCRIPTION

responseCode

A numeric code . As the Relay actions make a callout, the returned value will be the HTTP status code returned by the callout. Please refer to the specific Relay action documentation to determine possible responses.

In the event there are errors with the actual action request and the values passed in, a value of 500 will be returned and the responseMessage will contain a description of the failure.

NOTE

If the Relay action option Run in Background job (unmanaged) or Send via Future (managed)  was set to True, then the response code will be a value of 202.

responseMessage

A human readable message related to the response code.


Was this article helpful?

What's Next