POST

Projects.Get

Return one org project by id (created_by = owner). Use before Projects.Update to fill the edit form. Fields match dashboard project row (name, client_id, member, tags, credentials, note, flags, custom_fields).

Permissions

  • User must be logged in with a valid bearer token.
  • Returned or changed records are limited by the user permissions, team access, folder access, and account settings.

Action

  • Returns Projects information as JSON for the UI.

Push Service

No push is sent because this function only reads data or returns helper information.

Automation

No automation is run for this function.

Special Instructions

  • Send the bearer token on protected calls with Authorization: Bearer YOUR TOKEN.
  • Send parameters as POST body fields exactly as documented.

Required Parameters

NameTypeSampleExplanation
project_id
post
int900Project id. Aliases: id, data_id.

Optional Parameters

No optional body parameters are defined for this function.

Authentication

Send the bearer token returned by Login in the request header.

Authorization: Bearer YOUR TOKEN

Sample Request

{
    "url": "\/app\/Projects.Get",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": {
        "project_id": "900"
    },
    "url_user": "https:\/\/{user}.bull36.com\/app\/Projects.Get",
    "url_domain": "https:\/\/{domain}\/app\/Projects.Get"
}

Endpoint

POST /app/Projects.Get
POST https://{user}.bull36.com/app/Projects.Get
POST https://{domain}/app/Projects.Get

Sample Output

{
    "success": 1,
    "data": {
        "id": 900,
        "project_id": 900,
        "name": "Website redesign",
        "client_id": 12614595,
        "member_ids": [
            47
        ],
        "private_project": 0
    }
}

JavaScript Example

const token = 'YOUR TOKEN';
const body = new URLSearchParams({ project_id: '900' });
const res = await fetch('/app/Projects.Get', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body });
console.log(await res.json());

Error Example

{
    "success": 0,
    "error": "not_found",
    "message": "Project not found"
}