API Endpoints

Documentation for the REST API endpoints

All REST API endpoints are available under the prefix /api/rest/ and require a valid Bearer token for authentication. You can create API tokens in the Neleto admin under Profile Settings -> Security -> Create Token.

Authorization: Bearer <your-token>
For AI-agent access via Model Context Protocol, see MCP instead.

Pages

MethodPathDescription
GET/api/rest/pagesList all pages
POST/api/rest/pagesCreate a page
GET/api/rest/pages/{id}Get a single page by ID
PUT/api/rest/pages/{id}Update a page
DELETE/api/rest/pages/{id}Soft-delete a page
POST/api/rest/pages/duplicateDuplicate a page
GET/api/rest/pages/searchSearch pages
GET/api/rest/pages/countCount pages
GET/api/rest/pages/blog-post-pageGet the configured blog post page
GET/api/rest/pages/event-post-pageGet the configured event post page

Layouts

MethodPathDescription
GET/api/rest/layoutsList all layouts
POST/api/rest/layoutsCreate a layout
GET/api/rest/layouts/{id}Get a single layout by ID
PUT/api/rest/layouts/{id}Update a layout
DELETE/api/rest/layouts/{id}Soft-delete a layout
GET/api/rest/layouts/searchSearch layouts
GET/api/rest/layouts/countCount layouts

Components

MethodPathDescription
GET/api/rest/componentsList all components
POST/api/rest/componentsCreate a component
GET/api/rest/components/{id}Get a single component by ID
PUT/api/rest/components/{id}Update a component
DELETE/api/rest/components/{id}Delete a component
GET/api/rest/components/{id}/exportExport a component
GET/api/rest/components/{id}/elementsList elements using this component
POST/api/rest/components/importImport components
GET/api/rest/components/searchSearch components
GET/api/rest/components/countCount components

Blog Posts

MethodPathDescription
GET/api/rest/postsList all blog posts
POST/api/rest/postsCreate a blog post
GET/api/rest/posts/{id}Get a single post by ID
PUT/api/rest/posts/{id}Update a post
DELETE/api/rest/posts/{id}Delete a post
GET/api/rest/posts/searchSearch posts
POST/api/rest/posts/importImport posts from WordPress XML
GET/api/rest/posts/countCount posts

Events

MethodPathDescription
GET/api/rest/eventsList all events
POST/api/rest/eventsCreate an event
GET/api/rest/events/{id}Get a single event by ID
PUT/api/rest/events/{id}Update an event
DELETE/api/rest/events/{id}Delete an event
GET/api/rest/events/searchSearch events
GET/api/rest/events/todayList events happening today
GET/api/rest/events/upcomingList upcoming events
GET/api/rest/events/countCount events

Files

MethodPathDescription
GET/api/rest/filesList files / load file by path or IDs
POST/api/rest/filesCreate a file, folder, or remote file entry
GET/api/rest/files/{id}Get a file by UUID
PUT/api/rest/files/{id}Update file metadata or content
GET/api/rest/files/searchSearch files
POST/api/rest/files/moveMove or copy files

Redirects

MethodPathDescription
GET/api/rest/redirectsList all redirects
POST/api/rest/redirectsCreate a redirect
GET/api/rest/redirects/{id}Get a redirect by ID
PUT/api/rest/redirects/{id}Update a redirect
DELETE/api/rest/redirects/{id}Delete a redirect

Settings

MethodPathDescription
GET/api/rest/settingsGet CMS settings
PUT/api/rest/settingsUpdate CMS settings

Users

MethodPathDescription
GET/api/rest/usersList users
POST/api/rest/usersCreate a user
GET/api/rest/users/{id}Get a user by ID
PUT/api/rest/users/{id}Update a user
DELETE/api/rest/users/{id}Delete a user
GET/api/rest/users/searchSearch users
PUT/api/rest/users/meUpdate the current user

API Tokens

MethodPathDescription
GET/api/rest/tokensList API tokens
POST/api/rest/tokensCreate an API token
DELETE/api/rest/tokens/{id}Delete an API token

Images

See Image Scaling for the image transformation endpoint available at /images/user-upload/{id}.