Explore Plans
Mastodon.social

Create image post

This action will create a post with an image on your Mastodon.social account.

Developer info

API endpoint slug
mastodon_social.create_image_post
Filter method
MastodonSocial.createImagePost.skip(string?: reason)
Runtime method
runAction("mastodon_social.create_image_post", {})

Action fields

Text Text input > Long text

Label
Text
Helper text
Up to 500 characters. Optional when an image is attached.
Slug
text
Required
false
Can have default value
true
Filter method
MastodonSocial.createImagePost.setText(string: text)

Image url Text input > Photo

Label
Image URL
Helper text
A public URL to a JPG, PNG, GIF or WebP image, up to 16 MB.
Slug
image_url
Required
true
Can have default value
true
Filter method
MastodonSocial.createImagePost.setImageUrl(string: image_url)

Alt text Text input > Other

Label
Alt text
Helper text
Describe the image for people who can't see it.
Slug
alt_text
Required
false
Can have default value
true
Filter method
MastodonSocial.createImagePost.setAltText(string: alt_text)

Content warning Text input > Other

Label
Content warning
Helper text
Leave blank for no content warning.
Slug
content_warning
Required
false
Can have default value
true
Filter method
MastodonSocial.createImagePost.setContentWarning(string: content_warning)

Visibility Dropdown list

Label
Visibility
Helper text
Unlisted posts are public but stay out of public timelines.
Slug
visibility
Required
true
Can have default value
true
Filter method
MastodonSocial.createImagePost.setVisibility(string: visibility)