API Reference

Nexus exposes a robust RESTful API that allows you to automate everything you can do in the dashboard.

Authentication

All API requests require a Bearer token. You can generate one in your account settings under “Developer”.

curl -X GET "https://api.nexus-publisher.com/v1/projects" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Endpoints

Publish Content

POST /v1/publish

Trigger a new publishing pipeline manually.

Parameters:

  • project_id (string): The ID of your project.
  • environment (string): Target environment (staging or production).
  • payload (object): Your content metadata.

Response:

{
  "status": "success",
  "job_id": "job_12345abcd",
  "estimated_time_seconds": 15
}

Check Job Status

GET /v1/jobs/:job_id

Retrieve the real-time status of an ongoing publishing job.

For more detailed information and SDK integration guides, please contact our support team.