curl --request POST \
--url https://{defaultHost}/v5/app/feed_content_items \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"experience_id": "<string>",
"user_id": "<string>",
"external_id": "<string>",
"parent_external_id": "<string>",
"rest_path": "<string>",
"event_type": "<string>",
"metadata": {},
"file_attachments": [
{
"type": "image",
"file_url": "<string>"
}
],
"gifs": [
{
"height": 123,
"width": 123,
"original_url": "<string>",
"preview_url": "<string>",
"url": "<string>",
"slug": "<string>",
"title": "<string>",
"provider": "<string>"
}
]
}'
{
"feed_content_item_id": "<string>"
}
Create a Feed Content Item
curl --request POST \
--url https://{defaultHost}/v5/app/feed_content_items \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"experience_id": "<string>",
"user_id": "<string>",
"external_id": "<string>",
"parent_external_id": "<string>",
"rest_path": "<string>",
"event_type": "<string>",
"metadata": {},
"file_attachments": [
{
"type": "image",
"file_url": "<string>"
}
],
"gifs": [
{
"height": 123,
"width": 123,
"original_url": "<string>",
"preview_url": "<string>",
"url": "<string>",
"slug": "<string>",
"title": "<string>",
"provider": "<string>"
}
]
}'
{
"feed_content_item_id": "<string>"
}
App API key for /v5/app and /v5/company endpoints
feed content item created
The response is of type object
.
Was this page helpful?