Create content entry
Creates an entry of the type. For a type shared with the account, the entry is shared too and every website carrying the type renders it; for a type authored for this website, the entry lives on this website only.
/api/v2/websites/{website}/content-types/{contentType}/entriesCreates an entry of the type. For a type shared with the account, the entry is shared too and every website carrying the type renders it; for a type authored for this website, the entry lives on this website only.
Authorization
bearerAuth In: header
Path Parameters
uuidThe content type's key, such as team.
Query Parameters
Optional account to run this request against. Defaults to the account the API token is scoped to, so callers with a single account can omit it. Must be an account the authenticated user belongs to; staff may target any account. For write requests the value may be sent in the JSON body instead of the query string. The resolved account is returned on the X-Resi-Account-Id response header.
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v2/websites/497f6eca-6276-4993-bfeb-53cbbbba6f08/content-types/string/entries" \ -H "Content-Type: application/json" \ -d '{ "slug": "string" }'{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "status": "draft", "content_type": "string", "content_type_id": "94a0ecd9-8a2c-4912-8f3b-3707a8e91445", "scope": "account", "website_id": "9a5872c2-0bf0-4c68-9c27-86a09b05bf66", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "path": "string", "data": {}, "seo": {}, "resolved_data": {}, "website_override": { "is_excluded": true, "data": {}, "seo": {} }, "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "published_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }}