Instagram · Schema
CreateContainerRequest
CreateContainerRequest schema from Instagram Graph API
InstagramMetaPhotosSocial MediaVideosContent Publishing
Properties
| Name | Type | Description |
|---|---|---|
| image_url | string | Public URL of the image to publish. |
| video_url | string | Public URL of the video to publish. |
| caption | string | Caption text for the media. |
| media_type | string | Type of media to publish. |
| is_carousel_item | boolean | Set to true if this is an item in a carousel. |
| location_id | string | Facebook Page ID of a location to tag. |
| user_tags | array | Users to tag in the media. |
| access_token | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/instagram/refs/heads/main/json-schema/instagram-graph-api-create-container-request-schema.json",
"title": "CreateContainerRequest",
"description": "CreateContainerRequest schema from Instagram Graph API",
"type": "object",
"properties": {
"image_url": {
"type": "string",
"description": "Public URL of the image to publish.",
"example": "https://www.example.com/images/photo.jpg"
},
"video_url": {
"type": "string",
"description": "Public URL of the video to publish."
},
"caption": {
"type": "string",
"description": "Caption text for the media.",
"example": "Check out our latest product! #newlaunch"
},
"media_type": {
"type": "string",
"description": "Type of media to publish.",
"enum": [
"IMAGE",
"VIDEO",
"REELS",
"STORIES",
"CAROUSEL"
],
"example": "IMAGE"
},
"is_carousel_item": {
"type": "boolean",
"description": "Set to true if this is an item in a carousel.",
"example": false
},
"location_id": {
"type": "string",
"description": "Facebook Page ID of a location to tag."
},
"user_tags": {
"type": "array",
"description": "Users to tag in the media.",
"items": {
"type": "object",
"properties": {
"username": {
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
}
}
},
"access_token": {
"type": "string"
}
}
}