Send an Image with curl

Use the Ntfy me HTTP endpoint to send an image notification from the terminal. Provide your bearer token below to generate the ready-to-run command.

Tokens must be at least 10 characters and may only include lowercase letters, numbers, and hyphens.

Simple image data payload

The command downloads a public sample image, converts it to base64, and sends the image data directly in the JSON image field.

The notification does not contain an image URL. This is the shortest option and sends pure base64 image data.

Image data URI payload

This variant includes the media type by wrapping the base64 image data in a data:image/jpeg;base64 value.

This command still sends image data, not an image URL. Use it when you want the image value to carry the JPEG media type explicitly.