Create Meta Data

Create the content metadata for a given account.

The request body for the /content-meta endpoint can optionally include parameters to create specific metadata for the account. This includes content types, custom fields, pipelines, categories, services, labels, and tags. By including these boolean parameters in the request, you can specify which metadata you would like to retrieve for the account. This endpoint requires authentication with a JWT token or API key.

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

For Agency: /content-meta/?accountId=00273d240422d02w67bd17dc189d&contentTypes&customFields&pipelines&categories&services&labels&tags

For Account (without accountId): /content-meta/?contentTypes&customFields&pipelines&categories&services&labels&tags

Query Parameters

Name
Type
Description

accountId

String

The ID of the account to retrieve all details of the account (required for Agency)

Request Body

Name
Type
Description

contentTypes

array

Array of content types to be created.

customFields

array

Array of custom fields to be created.

pipelines

array

Array of pipelines to be created.

services

array

Array of services to be created.

tags

array

Array of tags to be created.

labels

array

Array of labels to be created.

Response Format

The response will be a JSON object containing the status of the operation and the created objects.

Example response:

 {
	"status": "Updated",
	"object": {
		"pipelines": [
			{
				"uid": "95ea9353d804a5f024d195d84f",
				"color": "#7B1FA2",
				"stages": [
					{
						"uid": "2bb24d8a1e6444ac2a0c3a01be",
						"color": "#FF8022",
						"label": "New",
						"value": "New"
					},
					{
						"uid": "5bb24d8a1e6444ac2a0c3a01be",
						"color": "#525E8A",
						"label": "Pending",
						"value": "Pending"
					},
					{
						"uid": "4bb24d8a1e6444ac2a0c3a01be",
						"color": "#1471CB",
						"label": "Approved",
						"value": "Approved"
					},
					{
						"uid": "3bb24d8a1e6444ac2a0c3a01be",
						"color": "#1471CB",
						"label": "Declined",
						"value": "Declined"
					}
				],
				"label": "Testimonial",
				"id": "35b24d8a1e6444ac2a0c3a01be"
			}
		]
	}
}

Last updated