Saltar al contenido principal
GET

Abrir o ver un proyecto

Scope:projects:projects.read
https://api.holded.com/api/v2/projects/{projectId}

Recupera todos los detalles de un proyecto específico por su identificador único.

Parámetros

Parámetros de ruta

projectIdstringobligatorio

ID del proyecto (ObjectId hexadecimal de 24 caracteres)

Petición

python
import requests

url = "https://api.holded.com/api/v2/projects/{projectId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Respuestas

Respuesta

json
{
  "id": "507f1f77bcf86cd799439011",
  "name": "string",
  "description": "string",
  "type": "string",
  "icon": "string",
  "color": "string",
  "key": "string",
  "scope": "string",
  "users": {},
  "contact_id": "string",
  "contact_name": "string",
  "start_date": "string",
  "due_date": "string",
  "tags": [
    "string"
  ],
  "archived": false,
  "status": 0,
  "number_of_tasks": 0,
  "completed_tasks": 0,
  "billable": false
}

Respuestas exitosas

200Proyecto encontradoapplication/json
object
idstringrequired

Unique identifier

namestringrequired

Project name

descriptionstringrequired

Project description

typestringrequired

Project type

iconstringrequired

Project icon

colorstringrequired

Project color

keystringrequired

Project key

scopestringrequired

Project scope

usersobjectrequired

Project members keyed by user ID

contact_idstring | nullrequired

Contact ID

contact_namestringrequired

Contact name

start_datestring | nullrequired

Start date, formatted according to the account's date settings

due_datestring | nullrequired

Due date, formatted according to the account's date settings

tags[]string[]required

Tags

archivedbooleanrequired

Whether the project is archived

statusintegerrequired

Project status

number_of_tasksintegerrequired

Total number of tasks

completed_tasksintegerrequired

Number of completed tasks

billablebooleanrequired

Whether the project is billable

Respuestas de error

401API key inválida o no proporcionadaapplication/json
403Permisos insuficientesapplication/json
404Proyecto no encontradoapplication/json
429Límite de solicitudes excedidoapplication/json