Skip to main content
PUT
/
projects
/
{id}
Update a project
curl --request PUT \
  --url https://app.leonar.app/api/v1/projects/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "client_name": "<string>",
  "client_company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "active",
  "location": "<string>",
  "description": "<string>"
}
'
{
  "data": {
    "id": "d4e5f6a7-8901-23bc-defa-456789012cde",
    "name": "Senior Frontend Engineers - Paris",
    "status": "active",
    "client_name": "Jean Dupont",
    "client_company": "Doctolib",
    "location": "Paris, France",
    "description": "Hiring 3 senior frontend engineers for the patient portal team",
    "template_id": null,
    "created_at": "2025-01-20T09:00:00Z",
    "updated_at": "2025-02-10T14:00:00Z",
    "owners": [
      {
        "user_id": "f6a7b8c9-0123-45de-fabc-678901234ef0",
        "first_name": "Alice",
        "last_name": "Recruiter",
        "email": "alice@leonar.ai"
      }
    ],
    "entries_count": 42,
    "pipeline": {
      "stages": [
        {
          "id": "e5f6a7b8-9012-34cd-efab-567890123def",
          "name": "Sourced",
          "position": 0,
          "system_category": "sourced",
          "color": "#3b82f6",
          "entries_count": 12
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

API key starting with leo_

Path Parameters

id
string<uuid>
required

Project ID

Body

application/json
name
string
client_name
string
client_company_id
string<uuid>
status
enum<string>
Available options:
active,
archived
location
string
description
string

Response

Project updated

data
object
Example:
{
  "id": "d4e5f6a7-8901-23bc-defa-456789012cde",
  "name": "Senior Frontend Engineers - Paris",
  "status": "active",
  "client_name": "Jean Dupont",
  "client_company": "Doctolib",
  "location": "Paris, France",
  "description": "Hiring 3 senior frontend engineers for the patient portal team",
  "template_id": null,
  "created_at": "2025-01-20T09:00:00Z",
  "updated_at": "2025-02-10T14:00:00Z",
  "owners": [
    {
      "user_id": "f6a7b8c9-0123-45de-fabc-678901234ef0",
      "first_name": "Alice",
      "last_name": "Recruiter",
      "email": "alice@leonar.ai"
    }
  ],
  "entries_count": 42,
  "pipeline": {
    "stages": [
      {
        "id": "e5f6a7b8-9012-34cd-efab-567890123def",
        "name": "Sourced",
        "position": 0,
        "system_category": "sourced",
        "color": "#3b82f6",
        "entries_count": 12
      }
    ]
  }
}