Сreate Сontent

Allows to create a new content in the system.

This endpoint requires authentication with a JWT token or API key.

POST https://api.instantuploader.com/content

Request Body

Name
Type
Description

contentType*

id param is required

stage

String

Id of stage

status

Object

Nested properties are: content: "draft" / "writing", "dropped" / "reviewing" / "finalized" publish: "notPublished" / "published"

service: "open", "cancelled", "completed"

title

String

title of content

description

String

customFields

array

[ { "key": "your_field", "val": "your value" } ]

tags

array

["0d37274bb98568dd713fc038ffd9"]

services

array

["7537274bb98568dd713fc038ffd9"]

labels

array

["5477274bb98568dd713fc038ffd9"]

media

array

array of media objects

{
	"agencyId": "10d125c77ac06295d25b79edc6",
	"accountId": "0f5aac87519b5323989f7a8df3",
	"userId": "",
	"uid": "14b86445c9718b4cabb2836edfe",
	"businessCategories": [],
	"businessServices": [],
	"businessLabels": [],
	"createDate": {
		"_seconds": 1683040805,
		"_nanoseconds": 34000000
	},
	"description": "asdasf",
	"title": "New content 1234",
	"contentType": {
		"id": "7f6f2a5db8d4c172b3ca94961b33",
		"name": "Company"
	},
	"pipelineId": "13f5621e46682194aab5fbcf2f6e",
	"stage": "New",
	"seo": {
		"title": "New content 1234",
		"description": "asdasf",
		"permalink": "new-content-1234"
	},
	"testimonial": {},
	"videoMaker": null,
	"city": "",
	"accessInviteCode": "",
	"media": [],
	"relatedTo": "",
	"presentation": {},
	"lock": {},
	"tasks": [],
	"descriptionWritings": "",
	"coords": "",
	"businessTags": [],
	"address": "",
	"relatedFrom": [],
	"writings": {},
	"coordData": {
		"geohash": "",
		"geopoint": {
			"_latitude": 0,
			"_longitude": 0
		}
	},
	"titleWritings": "",
	"isTestimonialContent": false,
	"smartTags": [],
	"inviteCode": "",
	"neighborhood": "",
	"status": {
		"service": "open",
		"content": "draft",
		"publish": "notPublished"
	},
	"updateDate": {
		"_seconds": 1683040805,
		"_nanoseconds": 34000000
	}
}

Last updated