Skip to main content
POST
Set social image

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>.

Path Parameters

app_id
string
required

ID of the app to set the social image on.

Body

application/json
social_image_url
string | null

https URL of the image to show in link previews, up to 2048 characters, or null to remove the current one. Leaving it out also removes it.

Maximum string length: 2048
Example:

"https://storage.base44.com/6820f3a4e7b91d003c45a1f2/7c1e9f2a_share.png"

Response

The app with its new social image.

Doc-only: the handler returns the whole app document.

id
string
required

ID of the app.

Example:

"6820f3a4e7b91d003c45a1f2"

social_image_url
string | null
required

URL of the image shown when someone shares the app's link, or null when you removed it.

Example:

"https://storage.base44.com/6820f3a4e7b91d003c45a1f2/7c1e9f2a_share.png"