Piloty API
  • Introduction
  • 🔓Authentication
  • 🔭Scopes and Roles
  • ⏲️Rate limits
  • 📂Pagination
  • ⁉️Errors and Status
  • 🏢COMPANIES API
    • Companies
      • GET : Companies by media
      • GET : Retrieve Company
      • POST : Create company
      • PATCH : Update company
    • Company 's fields
      • GET : List Sectors
      • GET : List Sizes
  • 💼JOBS API
    • Jobs
      • GET : Jobs by media
      • GET : Retrieve job
      • GET : Jobs opened by media
      • GET : Retrieve job opened
      • POST : Create job
      • PATCH : Update job
    • Job's fields
      • GET : List Contracts
      • GET : List Experiences
      • GET : List Educations
      • GET : List Remote policies
      • GET : List Worktimes
      • GET : List Job Categories
  • 👤USERS API
    • Users
      • GET : Users by media
  • 🧑‍💼CANDIDATES API
    • Candidates
      • GET : User candidates by media
      • GET : Job alerts
      • GET : Favoris
    • Opportunities
      • POST : Job applications - v2
      • GET : Job applications
      • 🛑Deprecated - POST : Job applications - v1
  • 📕Changelog
Powered by GitBook
On this page
  1. CANDIDATES API
  2. Opportunities

Deprecated - POST : Job applications - v1

This endpoint lets make an apply for a candidate to a job

This route has been deprecated since 01/04/2024

This endpoint requires r_w_candidates scope.

Apply candidate for job

POST https://api-piloty.fr/opportunities/:job-public-id/apply

Request Body

Name
Type
Description

question-id*

question-responce

{
    ok: true
}
{
    "statusCode": 404,
    "message": "job-not-found"
}
{
    "statusCode": 422,
    "error": "opportunity-already-exist",
    "message": "You have already applied for this job !"
}

Request example

curl -X POST "https://api-piloty.herokuapp.com/opportunities/:job-public-id/apply" \
    -H "Authorization: Bearer PILOTY_TOKEN" \
    -H "Content-Type: application/json" \
    -d @- <<EOF
{
    ...
    [question-id]:[value],
    [question-id]:[value],
    ...
    "62860f7d72f9aba0dcbb4a12":"Bouget",
    "62860f2872f9aba0dcbb31ec":"Maxime",
    "62860eb872f9aba0dcbb17cd":"developer@hellotrusty.io",
    "62860ee372f9aba0dcbb21ba":"+33669154685",
    ...
}
EOF
PreviousGET : Job applicationsNextChangelog

Last updated 1 year ago

🧑‍💼
🛑