Cronly
  • 🆘FAQ
  • Setup guides
    • 💵Subscription
    • 👤Your account
    • 🏢Employees
    • 📁Projects
    • 🔥Triggers
    • 🔔Events
    • 🪝Webhooks
  • Service guides
    • ▶️Managed jobs
    • ⏱️Job monitors
    • 🔐SSL certificates
  • API
    • How to use the API
    • Companies
    • Notifications
    • Job monitors
    • Projects
    • SSL certificates
    • Users
    • Servers
    • Back-ups
  • SDKs
    • PHP
    • JavaScript
  • Integrations
    • Wordpress WP-Cron
Powered by GitBook
On this page
  • Overview of all projects
  • Details of project
  • Create a new project
  • Delete a project
  1. API

Projects

Overview of all projects

GET https://cronly.app/api/projects

Headers

Name
Type
Description

Authorization*

String

Bearer: API token

[
    {
        "id": 2,
        "name": "Project name",
        "company_id": 1,
        "deleted_at": null,
        "created_at": "2022-05-30T13:28:12.000000Z",
        "updated_at": "2022-05-30T13:28:12.000000Z"
    }
]

Details of project

GET https://cronly.app/api/projects/{id}

Query Parameters

Name
Type
Description

id*

Integer

The ID of the project you want to view

Headers

Name
Type
Description

Authorization*

String

Bearer: API token

{
    "id": 2,
    "name": "Project name",
    "company_id": 1,
    "deleted_at": null,
    "created_at": "2022-05-30T13:28:12.000000Z",
    "updated_at": "2022-05-30T13:28:12.000000Z"
}
{
    "error": "Project not found"
}

Create a new project

POST https://cronly.app/api/projects

Headers

Name
Type
Description

Authorization*

String

Bearer: API token

Request Body

Name
Type
Description

name*

String

{
    "name": "new project",
    "company_id": 1,
    "updated_at": "2022-05-31T19:50:29.000000Z",
    "created_at": "2022-05-31T19:50:29.000000Z",
    "id": 4
}

Delete a project

DELETE https://cronly.app/api/projects/{id}

Query Parameters

Name
Type
Description

id*

Integer

The ID of the certificate you want to view

Headers

Name
Type
Description

Authorization*

String

Bearer: API token

{
    "success": "Project deleted"
}
{
    "error": "Project not found"
}
PreviousJob monitorsNextSSL certificates

Last updated 1 year ago