Skip to main content
POST
/
projects
/
{id}
/
entries
Add contact to pipeline
curl --request POST \
  --url https://app.leonar.app/api/v1/projects/{id}/entries \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contact_id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
  "stage_id": "e5f6a7b8-9012-34cd-efab-567890123def"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "stage": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>"
    },
    "rating": 123,
    "notes": "<string>",
    "rejection_reason_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "contact": {
      "id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
      "first_name": "Sophie",
      "last_name": "Martin",
      "title": "Senior Software Engineer",
      "current_company": "Doctolib",
      "location": "Paris, France",
      "linkedin_profile": "https://www.linkedin.com/in/sophie-martin",
      "emails": [
        {
          "email": "sophie@doctolib.com",
          "type": "work"
        }
      ],
      "phones": [
        {
          "phone": "+33612345678",
          "type": "personal"
        }
      ],
      "tags": [
        "frontend",
        "senior"
      ],
      "global_status": "new",
      "source": "linkedin",
      "summary": null,
      "skills": [
        "React",
        "TypeScript",
        "Node.js"
      ],
      "languages": [
        "French",
        "English"
      ],
      "years_experience": 8,
      "custom_data": {
        "industry_code": "A12",
        "vip": true
      },
      "do_not_contact": false,
      "created_at": "2025-01-15T10:30:00Z",
      "updated_at": "2025-01-20T14:00:00Z",
      "last_contacted_at": null,
      "archived_at": null
    }
  }
}

Authorizations

Authorization
string
header
required

API key starting with leo_

Path Parameters

id
string<uuid>
required

Project ID

Body

application/json
contact_id
string<uuid>
required
stage_id
string<uuid>

Optional pipeline stage UUID. Defaults to the first stage of the project pipeline.

rating
number
deprecated

Deprecated. This field is accepted for compatibility but is not persisted on project pipeline entries.

notes
string
deprecated

Deprecated. This field is accepted for compatibility but is not persisted on project pipeline entries.

Response

Entry created

data
object