Set raffle image
Sets the raffle’s image. Same inputs as the reward image endpoint: multipart image, JSON image_base64 (+ content_type), or JSON image_url (public https). JPEG/PNG/WebP, max 5MB.
Authorizations
API key from the Rigaly dashboard: Authorization: Bearer rgly_sk_...
Path Parameters
Body
Provide exactly one of image_base64 (raw base64 + content_type, or a data: URI) or image_url (public https, downloaded server-side). JPEG/PNG/WebP, max 5MB.
Base64-encoded image, or a data:image/...;base64, URI. AI image APIs (e.g. OpenAI gpt-image) return this directly.
Required when image_base64 is raw base64 (not a data: URI).
image/jpeg, image/png, image/webp Public https URL of the image to download and attach.