Create metadata

POST https://{{base_url}}/v3/metadata

The Create metadata request lets you create metadata for a specific asset or entry. Whenever you create metadata for an entry or asset, you need to specify the extension to which it will be connected.

To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken. 
Read more about it in Authentication.


For more information, refer to the Create metadata API Reference document

Request Body

{"metadata"=>{"entity_uid"=>"bltcbdfb3f254446076", "type"=>"entry", "_content_type_uid"=>"sample_content", "extension_uid"=>"blt8c723a09fdd0b25e", "presets"=>[{"uid"=>"d9300b22-f37d-4b25-93df-fc0395d62814", "name"=>"Test1"}]}}

HEADERS

KeyDatatypeRequiredDescription
api_keystringEnter the API key of the stack.
authtokenstringEnter your authtoken.
authorizationstringFor this call we recommend you to use management token.
Content-TypestringEnter "application/json" to pass a Request body.
branchstringEnter your branch or alias unique ID.