Project data can be managed through the projects API.


Projects API - Version 1.0


Projects, GET


Sample call

https://<SUBDOMAIN>.agbucket.com/api/1.0/projects/


Projects, POST (create a new project)


Sample call

https://<SUBDOMAIN>.agbucket.com/api/1.0/projects/

With payload:

{
    "code": "unique-ID (visible in UI)",
    "customer_name": "A name of a customer to be created",
    "name": "Name of the newly created project",
    "projectlead": 1266 
}

* The projectlead is the internal ID of a user in Silverbucket. People can be fetched using the user API.


Projects, PATCH (update only some fields of a project)


Sample call

https://<SUBDOMAIN>.agbucket.com/api/1.0/projects/<internal-ID>/

With payload:

{
    "enddate": "2025-12-31"
}


Projects/link, GET

For retreiving the project linking link GET method can be used.


Sample call

https://<SUBDOMAIN>.agbucket.com/api/1.0/projects/link/<PROJECT_ID>/


Projects/link, POST

To update project linking link POST method can be used.


POST will take payload with one parameter and the value contains project ID's to link separated with line feed, \n


Sample call

https://<SUBDOMAIN>.agbucket.com/api/1.0/projects/link/<PROJECT_ID>/


Sample payload

{
  "text":"123\n567\n99"
}