Apple Message for Business: Rich Link

Rich link messages contain an inline image or video as a preview of the hyperlink that business sends to customer. Note: The following is an example of Rich link with image. Examples of rich link with video can be found below. Note: Modify YourRegion in the URL to the right to reflect your tenant’s region. See Know your endpoint page.

Rich Link with Video

{
	"deliverychannel": "AppleBusinessChat",
	"appid": "{{ambAppid}}",
	"destination": [{
		"abcUserId": ["{{abcUserId}}"]
	}],

	"channels": {
		"AppleBusinessChat": {
			"type": "richLink",
			"richLinkData": {
				"url": "https://youtu.be/gM0qOa_H-rs",
				"title": "Mpbile Testing3",
				"assets": {
					"image": {
						"url": "http://clipart-library.com/data_images/320464.png",
						"mimeType": "image/png"
					},

					"video": {
						"url": "https://youtu.be/gM0qOa_H-rs",
						"mimeType": "video/mp4"
					}
				}
			}
		}
	},
	"correlationid": "",
	"callbackData": "",
	"notifyurl": ""
}
Parameter/ObjectParameter within the objectMandatoryDescription
delivery channelChannel used to send the message i.e., Apple Message for Business in this case.
app idContains the applicationid
destinationUnique user id for the recipient of the message on Apple Message for Business.
abcUserIdUnique user id
channels
AppleBusinessChatJSON object for ApplleBusinessChat configuration
typeYesType of the outbound event. It can be text,typing_start,typing_end,richlink or interactive.
richLinkDataYesRich link object
urlYesPublicly accessible URL that is a direct link to the media
titleYesTitle of the rich link message
assetsYesContains image or video asset
image
urlYesPublicly accessible URL that is a direct link to the media
mimeTypeYesThe MIME type
video
urlYesPublicly accessible URL that is a direct link to the media
mimeTypeYesThe MIME type
correlationidThe corrrelationid is a unique identifier that you can attach to every request as a reference a particular transaction or event. This is configured as a part of the request.
callbackDataData that you have configured to receive on the notify Url. This is configured as a part of the request.
notifyurlConfigure a URL to get notifications on delivery reports for a WhatsApp message. This field accepts only a valid URL or a variable. If an invalid URL is passed in API request or via a variable, then such request will not be considered eligible for retries.

Error Codes

Refer to the below page https://developers.imiconnect.io/reference/channel-specific-status-codes-1#apple-messages-for-business

Language
URL
Click Try It! to start a request and see the response here!