eVigilantes CMS

?

Settings

Configure API access and integrations for your CMS.

API Information

Public API endpoints for your website to consume

/api/v1
GET/posts
GET/posts/:slug
GET/categories

Integration Guide

Instructions for connecting your website to this CMS

Point your website's blog section to fetch content from the API endpoints above. Your dev team should:

  1. Set the BLOG_API_URL environment variable on the website to:
/api/v1
  1. Fetch posts from the API and render them on your blog pages.

Code Example

// Example: Fetch published posts
const response = await fetch('/api/v1/posts');
const data = await response.json();

// data.posts — array of published posts
// data.pagination — { page, limit, total, totalPages }

LinkedIn Setup

Configure LinkedIn Developer App to enable cross-posting

1

Create a LinkedIn Developer App

Go to LinkedIn Developers and create a new app for your organization.

2

Add Required Products

In the app's Products tab, request access to Share on LinkedIn and Sign In with LinkedIn using OpenID Connect.

3

Set the Redirect URL

In the Auth tab, add this as an authorized redirect URL:

/api/admin/social/callback
4

Add Credentials to Environment

Copy the Client ID and Client Secret from the Auth tab and add them to your .env file:

LINKEDIN_CLIENT_ID=your_client_id_here
LINKEDIN_CLIENT_SECRET=your_client_secret_here