{"openapi":"3.1.0","info":{"title":"Palify Partner API","version":"1.0.0","description":"Send the partner API key as Authorization: Bearer pk_<sandbox|live>_<8 hex>_<secret>. A sandbox key validates and stores test data only; a live key exists only for a partner Palify approved. Every key may make 120 requests a minute, of which 30 writes (POST, PATCH, PUT, DELETE); over the limit answers 429 RATE_LIMITED with Retry-After. Errors are problem details; switch on code."},"servers":[{"url":"https://api.palify.io/partner/v1"}],"components":{"securitySchemes":{"partnerKey":{"type":"http","scheme":"bearer","bearerFormat":"pk_<sandbox|live>_<8 hex>_<secret>","description":"Partner API key, shown once when Palify creates it."}},"schemas":{},"parameters":{}},"paths":{"/me":{"get":{"summary":"The partner behind the key: its status, the key's environment, the company it posts for and the default application delivery. private, no-store","tags":["partner"],"security":[{"partnerKey":[]}],"responses":{"200":{"description":"The partner","content":{"application/json":{"schema":{"type":"object","properties":{"partnerId":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":80},"environment":{"type":"string","enum":["sandbox","live"]},"status":{"type":"string","enum":["sandbox","live","suspended"]},"company":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1}},"required":["id","name","slug"]},"defaultDelivery":{"type":"string","enum":["external","webhook","api","email"]}},"required":["partnerId","name","environment","status","company","defaultDelivery"]}}}},"401":{"description":"PARTNER_KEY_INVALID: the key is missing, unknown or revoked","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"403":{"description":"PARTNER_SUSPENDED: the partner is suspended; PARTNER_ENVIRONMENT_MISMATCH: the route does not accept this key's environment","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"404":{"description":"COMPANY_NOT_FOUND: the partner's company page no longer exists","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"429":{"description":"RATE_LIMITED","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}}}}},"/jobs":{"post":{"summary":"Create a job. Sandbox keys validate without publishing or using quota and store a test job (201 even when checks fail). Live keys publish through the same rules as a job posted on Palify","tags":["partner-jobs"],"security":[{"partnerKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$","description":"The job's id in the partner's system; unique per partner and environment"},"title":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","minLength":1,"maxLength":20000},"employmentType":{"type":"string","enum":["full_time","part_time","contract","internship"]},"workMode":{"type":"string","enum":["onsite","hybrid","remote"]},"salary":{"oneOf":[{"type":"object","properties":{"disclosure":{"type":"string","enum":["disclosed"]},"min":{"type":"integer","minimum":0,"maximum":100000000},"max":{"type":"integer","minimum":0,"maximum":100000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"}},"required":["disclosure","min","max","currency"]},{"type":"object","properties":{"disclosure":{"type":"string","enum":["undisclosed"]}},"required":["disclosure"]}]},"responseSlaDays":{"anyOf":[{"type":"number","enum":[3]},{"type":"number","enum":[7]},{"type":"number","enum":[14]}]},"headcount":{"type":"integer","exclusiveMinimum":0,"maximum":10000},"location":{"type":"object","properties":{"city":{"type":"string","minLength":1,"maxLength":100},"region":{"type":"string","minLength":1,"maxLength":100},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 3166-1 alpha-2 country code, upper case"}},"additionalProperties":false},"apply":{"oneOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["palify"]},"delivery":{"type":"string","enum":["webhook","api","email"],"description":"How Palify hands applications to the partner; defaults to the partner's default delivery"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["external"]},"url":{"type":"string","maxLength":2048,"format":"uri","description":"https only"}},"required":["mode","url"],"additionalProperties":false}]}},"required":["externalId","title","description","employmentType","workMode","salary","responseSlaDays","apply"],"additionalProperties":false}}}},"responses":{"201":{"description":"The created job","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"externalId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$","description":"The job's id in the partner's system; unique per partner and environment"},"environment":{"type":"string","enum":["sandbox","live"]},"status":{"type":"string","enum":["sandbox","open","on_hold","filled","closed","expired"]},"applyMode":{"type":"string","enum":["palify","external"]},"delivery":{"type":"string","enum":["webhook","api","email"]},"url":{"type":["string","null"],"format":"uri","description":"The public Palify job page for live jobs; null in sandbox"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"checks":{"type":"object","properties":{"passed":{"type":"boolean"},"findings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["JOB_INVALID","JOB_ASKS_FOR_PAYMENT","JOB_NEEDS_IMPROVEMENT"]},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"]},"maxItems":10},"tips":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"text":{"type":"string","minLength":1}},"required":["key","text"]},"maxItems":20}},"required":["passed","findings","tips"],"description":"Sandbox only"}},"required":["id","externalId","environment","status","applyMode","delivery","url","createdAt","updatedAt"]}}}},"400":{"description":"VALIDATION_ERROR: the body, path or query failed validation (strict bodies refuse unknown fields)","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"401":{"description":"PARTNER_KEY_INVALID: the key is missing, unknown or revoked","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"402":{"description":"QUOTA_EXHAUSTED: the company's job_posts quota is used up (live only)","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"403":{"description":"PARTNER_SUSPENDED: the partner is suspended; PARTNER_ENVIRONMENT_MISMATCH: the externalId exists only in the other environment","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"409":{"description":"JOB_EXTERNAL_ID_EXISTS, or COMPANY_NOT_VERIFIED (live)","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"422":{"description":"JOB_INVALID, JOB_ASKS_FOR_PAYMENT, JOB_NEEDS_IMPROVEMENT (with tips and dimensions) or OWNER_NOT_COMPANY_MEMBER (live only; sandbox reports the same checks in checks)","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"429":{"description":"RATE_LIMITED","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}}}},"get":{"summary":"The partner's jobs in the key's environment, newest first (keyset cursor on createdAt, id)","tags":["partner-jobs"],"security":[{"partnerKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":256},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":50,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","enum":["sandbox","open","on_hold","filled","closed","expired"]},"required":false,"name":"status","in":"query"}],"responses":{"200":{"description":"Jobs page","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"externalId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$","description":"The job's id in the partner's system; unique per partner and environment"},"environment":{"type":"string","enum":["sandbox","live"]},"status":{"type":"string","enum":["sandbox","open","on_hold","filled","closed","expired"]},"applyMode":{"type":"string","enum":["palify","external"]},"delivery":{"type":"string","enum":["webhook","api","email"]},"url":{"type":["string","null"],"format":"uri","description":"The public Palify job page for live jobs; null in sandbox"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"checks":{"type":"object","properties":{"passed":{"type":"boolean"},"findings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["JOB_INVALID","JOB_ASKS_FOR_PAYMENT","JOB_NEEDS_IMPROVEMENT"]},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"]},"maxItems":10},"tips":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"text":{"type":"string","minLength":1}},"required":["key","text"]},"maxItems":20}},"required":["passed","findings","tips"],"description":"Sandbox only"}},"required":["id","externalId","environment","status","applyMode","delivery","url","createdAt","updatedAt"]}},"nextCursor":{"type":["string","null"],"minLength":1}},"required":["items","nextCursor"]}}}},"400":{"description":"VALIDATION_ERROR: the body, path or query failed validation (strict bodies refuse unknown fields)","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"401":{"description":"PARTNER_KEY_INVALID: the key is missing, unknown or revoked","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"403":{"description":"PARTNER_SUSPENDED: the partner is suspended; PARTNER_ENVIRONMENT_MISMATCH: the externalId exists only in the other environment","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"429":{"description":"RATE_LIMITED","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}}}}},"/jobs/{externalId}":{"get":{"summary":"One job by the partner's externalId","tags":["partner-jobs"],"security":[{"partnerKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$","description":"The job's id in the partner's system; unique per partner and environment"},"required":true,"description":"The job's id in the partner's system; unique per partner and environment","name":"externalId","in":"path"}],"responses":{"200":{"description":"The job","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"externalId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$","description":"The job's id in the partner's system; unique per partner and environment"},"environment":{"type":"string","enum":["sandbox","live"]},"status":{"type":"string","enum":["sandbox","open","on_hold","filled","closed","expired"]},"applyMode":{"type":"string","enum":["palify","external"]},"delivery":{"type":"string","enum":["webhook","api","email"]},"url":{"type":["string","null"],"format":"uri","description":"The public Palify job page for live jobs; null in sandbox"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"checks":{"type":"object","properties":{"passed":{"type":"boolean"},"findings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["JOB_INVALID","JOB_ASKS_FOR_PAYMENT","JOB_NEEDS_IMPROVEMENT"]},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"]},"maxItems":10},"tips":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"text":{"type":"string","minLength":1}},"required":["key","text"]},"maxItems":20}},"required":["passed","findings","tips"],"description":"Sandbox only"}},"required":["id","externalId","environment","status","applyMode","delivery","url","createdAt","updatedAt"]}}}},"400":{"description":"VALIDATION_ERROR: the body, path or query failed validation (strict bodies refuse unknown fields)","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"401":{"description":"PARTNER_KEY_INVALID: the key is missing, unknown or revoked","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"403":{"description":"PARTNER_SUSPENDED: the partner is suspended; PARTNER_ENVIRONMENT_MISMATCH: the externalId exists only in the other environment","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"404":{"description":"PARTNER_JOB_NOT_FOUND","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"429":{"description":"RATE_LIMITED","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}}}},"patch":{"summary":"Edit any create field except externalId. Live edits go through the Palify job edit rules (open or on_hold jobs only); sandbox edits re-run the checks and put the test job back in review","tags":["partner-jobs"],"security":[{"partnerKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$","description":"The job's id in the partner's system; unique per partner and environment"},"required":true,"description":"The job's id in the partner's system; unique per partner and environment","name":"externalId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","minLength":1,"maxLength":20000},"employmentType":{"type":"string","enum":["full_time","part_time","contract","internship"]},"workMode":{"type":"string","enum":["onsite","hybrid","remote"]},"salary":{"oneOf":[{"type":"object","properties":{"disclosure":{"type":"string","enum":["disclosed"]},"min":{"type":"integer","minimum":0,"maximum":100000000},"max":{"type":"integer","minimum":0,"maximum":100000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"}},"required":["disclosure","min","max","currency"]},{"type":"object","properties":{"disclosure":{"type":"string","enum":["undisclosed"]}},"required":["disclosure"]}]},"responseSlaDays":{"anyOf":[{"type":"number","enum":[3]},{"type":"number","enum":[7]},{"type":"number","enum":[14]}]},"headcount":{"type":"integer","exclusiveMinimum":0,"maximum":10000},"location":{"type":"object","properties":{"city":{"type":"string","minLength":1,"maxLength":100},"region":{"type":"string","minLength":1,"maxLength":100},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 3166-1 alpha-2 country code, upper case"}},"additionalProperties":false},"apply":{"oneOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["palify"]},"delivery":{"type":"string","enum":["webhook","api","email"],"description":"How Palify hands applications to the partner; defaults to the partner's default delivery"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["external"]},"url":{"type":"string","maxLength":2048,"format":"uri","description":"https only"}},"required":["mode","url"],"additionalProperties":false}]}},"additionalProperties":false}}}},"responses":{"200":{"description":"The job after the edit","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"externalId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$","description":"The job's id in the partner's system; unique per partner and environment"},"environment":{"type":"string","enum":["sandbox","live"]},"status":{"type":"string","enum":["sandbox","open","on_hold","filled","closed","expired"]},"applyMode":{"type":"string","enum":["palify","external"]},"delivery":{"type":"string","enum":["webhook","api","email"]},"url":{"type":["string","null"],"format":"uri","description":"The public Palify job page for live jobs; null in sandbox"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"checks":{"type":"object","properties":{"passed":{"type":"boolean"},"findings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["JOB_INVALID","JOB_ASKS_FOR_PAYMENT","JOB_NEEDS_IMPROVEMENT"]},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"]},"maxItems":10},"tips":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"text":{"type":"string","minLength":1}},"required":["key","text"]},"maxItems":20}},"required":["passed","findings","tips"],"description":"Sandbox only"}},"required":["id","externalId","environment","status","applyMode","delivery","url","createdAt","updatedAt"]}}}},"400":{"description":"VALIDATION_ERROR: the body, path or query failed validation (strict bodies refuse unknown fields)","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"401":{"description":"PARTNER_KEY_INVALID: the key is missing, unknown or revoked","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"402":{"description":"QUOTA_EXHAUSTED: the company's job_posts quota is used up (live only)","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"403":{"description":"PARTNER_SUSPENDED: the partner is suspended; PARTNER_ENVIRONMENT_MISMATCH: the externalId exists only in the other environment","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"404":{"description":"PARTNER_JOB_NOT_FOUND","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"409":{"description":"COMPANY_NOT_VERIFIED (live), JOB_NOT_EDITABLE or INVALID_STATUS_TRANSITION","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"422":{"description":"JOB_INVALID, JOB_ASKS_FOR_PAYMENT, JOB_NEEDS_IMPROVEMENT (with tips and dimensions) or OWNER_NOT_COMPANY_MEMBER (live only; sandbox reports the same checks in checks)","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"429":{"description":"RATE_LIMITED","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}}}}},"/jobs/{externalId}/close":{"post":{"summary":"Close a live job (status closed). In sandbox the test job is returned unchanged","tags":["partner-jobs"],"security":[{"partnerKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$","description":"The job's id in the partner's system; unique per partner and environment"},"required":true,"description":"The job's id in the partner's system; unique per partner and environment","name":"externalId","in":"path"}],"responses":{"200":{"description":"The job after closing","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"externalId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$","description":"The job's id in the partner's system; unique per partner and environment"},"environment":{"type":"string","enum":["sandbox","live"]},"status":{"type":"string","enum":["sandbox","open","on_hold","filled","closed","expired"]},"applyMode":{"type":"string","enum":["palify","external"]},"delivery":{"type":"string","enum":["webhook","api","email"]},"url":{"type":["string","null"],"format":"uri","description":"The public Palify job page for live jobs; null in sandbox"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"checks":{"type":"object","properties":{"passed":{"type":"boolean"},"findings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["JOB_INVALID","JOB_ASKS_FOR_PAYMENT","JOB_NEEDS_IMPROVEMENT"]},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"]},"maxItems":10},"tips":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"text":{"type":"string","minLength":1}},"required":["key","text"]},"maxItems":20}},"required":["passed","findings","tips"],"description":"Sandbox only"}},"required":["id","externalId","environment","status","applyMode","delivery","url","createdAt","updatedAt"]}}}},"400":{"description":"VALIDATION_ERROR: the body, path or query failed validation (strict bodies refuse unknown fields)","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"401":{"description":"PARTNER_KEY_INVALID: the key is missing, unknown or revoked","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"403":{"description":"PARTNER_SUSPENDED: the partner is suspended; PARTNER_ENVIRONMENT_MISMATCH: the externalId exists only in the other environment","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"404":{"description":"PARTNER_JOB_NOT_FOUND","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"409":{"description":"INVALID_STATUS_TRANSITION: the job is already filled, closed or expired","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"429":{"description":"RATE_LIMITED","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}}}}},"/applications":{"get":{"summary":"Applications to the partner's jobs, newest first on (submittedAt desc, id desc). A sandbox key lists sandbox applications only. Keyset pagination with an opaque cursor","tags":["applications"],"security":[{"partnerKey":[]}],"parameters":[{"schema":{"type":"string","format":"date-time"},"required":false,"name":"since","in":"query"},{"schema":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$"},"required":false,"name":"jobExternalId","in":"query"},{"schema":{"type":"string","enum":["submitted","shortlisted","rejected","interviewing","hired","no_response"]},"required":false,"name":"status","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":512},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":50,"default":20},"required":false,"name":"limit","in":"query"}],"responses":{"200":{"description":"Applications page","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"jobExternalId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$"},"status":{"type":"string","enum":["submitted","shortlisted","rejected","interviewing","hired","no_response"]},"submittedAt":{"type":"string","format":"date-time"},"slaDeadlineAt":{"type":"string","format":"date-time"},"candidate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":200},"headline":{"type":["string","null"],"maxLength":500},"profileUrl":{"type":"string","format":"uri"},"location":{"type":"object","properties":{"city":{"type":["string","null"],"minLength":1,"maxLength":100},"region":{"type":["string","null"],"minLength":1,"maxLength":100},"country":{"type":["string","null"],"minLength":2,"maxLength":2}},"required":["city","region","country"]},"skills":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"note":{"type":"string","minLength":1,"maxLength":1000}},"required":["id","name","headline","profileUrl","skills"],"description":"Public profile data only: Palify never shares a candidate's email or phone"},"source":{"type":"string","enum":["manual","auto"]}},"required":["id","jobId","jobExternalId","status","submittedAt","slaDeadlineAt","candidate","source"]}},"nextCursor":{"type":["string","null"],"minLength":1}},"required":["items","nextCursor"]}}}},"400":{"description":"VALIDATION_ERROR","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"401":{"description":"PARTNER_KEY_INVALID: the key is missing, unknown or revoked","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"403":{"description":"PARTNER_SUSPENDED: the partner is suspended; PARTNER_ENVIRONMENT_MISMATCH: the route does not accept this key's environment","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"429":{"description":"RATE_LIMITED","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}}}}},"/applications/{id}":{"get":{"summary":"One application to one of the partner's jobs","tags":["applications"],"security":[{"partnerKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The application","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"jobExternalId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$"},"status":{"type":"string","enum":["submitted","shortlisted","rejected","interviewing","hired","no_response"]},"submittedAt":{"type":"string","format":"date-time"},"slaDeadlineAt":{"type":"string","format":"date-time"},"candidate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":200},"headline":{"type":["string","null"],"maxLength":500},"profileUrl":{"type":"string","format":"uri"},"location":{"type":"object","properties":{"city":{"type":["string","null"],"minLength":1,"maxLength":100},"region":{"type":["string","null"],"minLength":1,"maxLength":100},"country":{"type":["string","null"],"minLength":2,"maxLength":2}},"required":["city","region","country"]},"skills":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"note":{"type":"string","minLength":1,"maxLength":1000}},"required":["id","name","headline","profileUrl","skills"],"description":"Public profile data only: Palify never shares a candidate's email or phone"},"source":{"type":"string","enum":["manual","auto"]}},"required":["id","jobId","jobExternalId","status","submittedAt","slaDeadlineAt","candidate","source"]}}}},"400":{"description":"VALIDATION_ERROR","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"401":{"description":"PARTNER_KEY_INVALID: the key is missing, unknown or revoked","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"403":{"description":"PARTNER_SUSPENDED: the partner is suspended; PARTNER_ENVIRONMENT_MISMATCH: the route does not accept this key's environment","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"404":{"description":"PARTNER_APPLICATION_NOT_FOUND","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"429":{"description":"RATE_LIMITED","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}}}}},"/applications/{id}/status":{"post":{"summary":"Move an application to its next step, as the partner's owner on Palify. submitted → shortlisted, interviewing, hired or rejected; shortlisted → interviewing, hired or rejected; interviewing → hired or rejected. The first answer counts as a reply for the Ghost Index; an application with no answer inside its SLA becomes no_response","tags":["applications"],"security":[{"partnerKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["shortlisted","interviewing","rejected","hired"]},"note":{"type":"string","minLength":1,"maxLength":500}},"required":["status"],"additionalProperties":false}}}},"responses":{"200":{"description":"The application after the change","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"jobExternalId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$"},"status":{"type":"string","enum":["submitted","shortlisted","rejected","interviewing","hired","no_response"]},"submittedAt":{"type":"string","format":"date-time"},"slaDeadlineAt":{"type":"string","format":"date-time"},"candidate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":200},"headline":{"type":["string","null"],"maxLength":500},"profileUrl":{"type":"string","format":"uri"},"location":{"type":"object","properties":{"city":{"type":["string","null"],"minLength":1,"maxLength":100},"region":{"type":["string","null"],"minLength":1,"maxLength":100},"country":{"type":["string","null"],"minLength":2,"maxLength":2}},"required":["city","region","country"]},"skills":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"note":{"type":"string","minLength":1,"maxLength":1000}},"required":["id","name","headline","profileUrl","skills"],"description":"Public profile data only: Palify never shares a candidate's email or phone"},"source":{"type":"string","enum":["manual","auto"]}},"required":["id","jobId","jobExternalId","status","submittedAt","slaDeadlineAt","candidate","source"]}}}},"400":{"description":"VALIDATION_ERROR","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"401":{"description":"PARTNER_KEY_INVALID: the key is missing, unknown or revoked","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"403":{"description":"PARTNER_SUSPENDED: the partner is suspended; PARTNER_ENVIRONMENT_MISMATCH: the route does not accept this key's environment","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"404":{"description":"PARTNER_APPLICATION_NOT_FOUND","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"409":{"description":"INVALID_STATUS_TRANSITION","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"429":{"description":"RATE_LIMITED","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}}}}},"/applications/{id}/ats-stage":{"post":{"summary":"Generic ATS status sync: send the stage name your ATS shows and Palify maps it (the company's stage map set by Palify, then defaults: screening → shortlisted, interviews and offers → interviewing, hired → hired, rejected or archived → rejected, new or applied → ignored). Never moves an application backwards; the first move past new counts as a reply for the Ghost Index","tags":["applications"],"security":[{"partnerKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"stage":{"type":"string","minLength":1,"maxLength":120,"description":"The stage name exactly as the ATS shows it, e.g. \"Phone Screen\""},"rejected":{"type":"boolean","description":"True when the ATS marked the application rejected or archived, whatever the stage"},"hired":{"type":"boolean","description":"True when the ATS marked the candidate hired, whatever the stage"}},"required":["stage"],"additionalProperties":false}}}},"responses":{"200":{"description":"What Palify did with the stage","content":{"application/json":{"schema":{"type":"object","properties":{"application":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"jobExternalId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$"},"status":{"type":"string","enum":["submitted","shortlisted","rejected","interviewing","hired","no_response"]},"submittedAt":{"type":"string","format":"date-time"},"slaDeadlineAt":{"type":"string","format":"date-time"},"candidate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":200},"headline":{"type":["string","null"],"maxLength":500},"profileUrl":{"type":"string","format":"uri"},"location":{"type":"object","properties":{"city":{"type":["string","null"],"minLength":1,"maxLength":100},"region":{"type":["string","null"],"minLength":1,"maxLength":100},"country":{"type":["string","null"],"minLength":2,"maxLength":2}},"required":["city","region","country"]},"skills":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"note":{"type":"string","minLength":1,"maxLength":1000}},"required":["id","name","headline","profileUrl","skills"],"description":"Public profile data only: Palify never shares a candidate's email or phone"},"source":{"type":"string","enum":["manual","auto"]}},"required":["id","jobId","jobExternalId","status","submittedAt","slaDeadlineAt","candidate","source"]},"mappedStatus":{"type":"string","enum":["shortlisted","interviewing","rejected","hired","ignore"]},"outcome":{"type":"string","enum":["applied","unchanged","ignored"],"description":"applied: the application moved; unchanged: it is already at or past that step; ignored: the stage doesn't map past new"}},"required":["application","mappedStatus","outcome"]}}}},"400":{"description":"VALIDATION_ERROR","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"401":{"description":"PARTNER_KEY_INVALID: the key is missing, unknown or revoked","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"403":{"description":"PARTNER_SUSPENDED: the partner is suspended; PARTNER_ENVIRONMENT_MISMATCH: the route does not accept this key's environment","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"404":{"description":"PARTNER_APPLICATION_NOT_FOUND","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"429":{"description":"RATE_LIMITED","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}}}}},"/sandbox/applications":{"post":{"summary":"Sandbox key only: create a fake application to a sandbox job and deliver it by the job's delivery option (webhook, api or email). Never touches the Ghost Index","tags":["sandbox"],"security":[{"partnerKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jobExternalId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$"}},"required":["jobExternalId"],"additionalProperties":false}}}},"responses":{"201":{"description":"The sandbox application","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"jobExternalId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$"},"status":{"type":"string","enum":["submitted","shortlisted","rejected","interviewing","hired","no_response"]},"submittedAt":{"type":"string","format":"date-time"},"slaDeadlineAt":{"type":"string","format":"date-time"},"candidate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":200},"headline":{"type":["string","null"],"maxLength":500},"profileUrl":{"type":"string","format":"uri"},"location":{"type":"object","properties":{"city":{"type":["string","null"],"minLength":1,"maxLength":100},"region":{"type":["string","null"],"minLength":1,"maxLength":100},"country":{"type":["string","null"],"minLength":2,"maxLength":2}},"required":["city","region","country"]},"skills":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"note":{"type":"string","minLength":1,"maxLength":1000}},"required":["id","name","headline","profileUrl","skills"],"description":"Public profile data only: Palify never shares a candidate's email or phone"},"source":{"type":"string","enum":["manual","auto"]}},"required":["id","jobId","jobExternalId","status","submittedAt","slaDeadlineAt","candidate","source"]}}}},"400":{"description":"VALIDATION_ERROR","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"401":{"description":"PARTNER_KEY_INVALID: the key is missing, unknown or revoked","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"403":{"description":"PARTNER_SUSPENDED: the partner is suspended; PARTNER_ENVIRONMENT_MISMATCH: the route does not accept this key's environment","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"404":{"description":"PARTNER_JOB_NOT_FOUND","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"409":{"description":"JOB_APPLIES_EXTERNALLY: the sandbox job applies on the partner's site","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"429":{"description":"RATE_LIMITED","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}}}}},"/webhooks/test":{"post":{"summary":"Queue a ping to the partner's webhook URL with the key's environment. The delivery is sent by the next sweep (within about 15 s) and shows in the delivery log","tags":["webhooks"],"security":[{"partnerKey":[]}],"responses":{"202":{"description":"The ping was queued","content":{"application/json":{"schema":{"type":"object","properties":{"deliveryId":{"type":"string","format":"uuid"}},"required":["deliveryId"]}}}},"401":{"description":"PARTNER_KEY_INVALID: the key is missing, unknown or revoked","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"403":{"description":"PARTNER_SUSPENDED: the partner is suspended; PARTNER_ENVIRONMENT_MISMATCH: the route does not accept this key's environment","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"409":{"description":"PARTNER_WEBHOOK_NOT_CONFIGURED: the partner has no webhook URL or secret","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}},"429":{"description":"RATE_LIMITED","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"status":{"type":"integer","minimum":100,"maximum":599},"detail":{"type":"string","minLength":1},"instance":{"type":"string","minLength":1},"code":{"type":"string","minLength":1},"traceId":{"type":"string","minLength":1}},"required":["type","title","status","code"]}}}}}}}},"webhooks":{"partnerEvent":{"post":{"summary":"Every webhook carries Palify-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the webhook secret (whsec_...)>. Recompute it over the raw body, compare in constant time and reject timestamps older than 5 minutes. Answer 2xx within 10 s; anything else is retried after 30 s, 2 m, 10 m, 30 m, 1 h, 3 h, 6 h and 12 h, then marked failed. Redirects are not followed.","tags":["webhooks"],"parameters":[{"schema":{"type":"string","enum":["ping","application.created","application.status_changed","job.status_changed"]},"required":true,"name":"palify-event","in":"header"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"palify-delivery","in":"header"},{"schema":{"type":"string","enum":["sandbox","live"]},"required":true,"name":"palify-environment","in":"header"},{"schema":{"type":"string","pattern":"^t=\\d+,v1=[0-9a-f]{64}$"},"required":true,"name":"palify-signature","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The delivery id, also sent as Palify-Delivery"},"event":{"type":"string","enum":["ping"]},"environment":{"type":"string","enum":["sandbox","live"]},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","properties":{"partnerId":{"type":"string","format":"uuid"},"message":{"type":"string","enum":["ping"]}},"required":["partnerId","message"]}},"required":["id","event","environment","createdAt","data"]},{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The delivery id, also sent as Palify-Delivery"},"event":{"type":"string","enum":["application.created"]},"environment":{"type":"string","enum":["sandbox","live"]},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"jobExternalId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$"},"status":{"type":"string","enum":["submitted","shortlisted","rejected","interviewing","hired","no_response"]},"submittedAt":{"type":"string","format":"date-time"},"slaDeadlineAt":{"type":"string","format":"date-time"},"candidate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":200},"headline":{"type":["string","null"],"maxLength":500},"profileUrl":{"type":"string","format":"uri"},"location":{"type":"object","properties":{"city":{"type":["string","null"],"minLength":1,"maxLength":100},"region":{"type":["string","null"],"minLength":1,"maxLength":100},"country":{"type":["string","null"],"minLength":2,"maxLength":2}},"required":["city","region","country"]},"skills":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"note":{"type":"string","minLength":1,"maxLength":1000}},"required":["id","name","headline","profileUrl","skills"],"description":"Public profile data only: Palify never shares a candidate's email or phone"},"source":{"type":"string","enum":["manual","auto"]}},"required":["id","jobId","jobExternalId","status","submittedAt","slaDeadlineAt","candidate","source"]}},"required":["id","event","environment","createdAt","data"]},{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The delivery id, also sent as Palify-Delivery"},"event":{"type":"string","enum":["application.status_changed"]},"environment":{"type":"string","enum":["sandbox","live"]},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"jobExternalId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$"},"status":{"type":"string","enum":["submitted","shortlisted","rejected","interviewing","hired","no_response"]},"submittedAt":{"type":"string","format":"date-time"},"slaDeadlineAt":{"type":"string","format":"date-time"},"candidate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":200},"headline":{"type":["string","null"],"maxLength":500},"profileUrl":{"type":"string","format":"uri"},"location":{"type":"object","properties":{"city":{"type":["string","null"],"minLength":1,"maxLength":100},"region":{"type":["string","null"],"minLength":1,"maxLength":100},"country":{"type":["string","null"],"minLength":2,"maxLength":2}},"required":["city","region","country"]},"skills":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"note":{"type":"string","minLength":1,"maxLength":1000}},"required":["id","name","headline","profileUrl","skills"],"description":"Public profile data only: Palify never shares a candidate's email or phone"},"source":{"type":"string","enum":["manual","auto"]}},"required":["id","jobId","jobExternalId","status","submittedAt","slaDeadlineAt","candidate","source"]}},"required":["id","event","environment","createdAt","data"]},{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The delivery id, also sent as Palify-Delivery"},"event":{"type":"string","enum":["job.status_changed"]},"environment":{"type":"string","enum":["sandbox","live"]},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"externalId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$"},"status":{"type":"string","enum":["closed","expired","filled"]},"changedAt":{"type":"string","format":"date-time"}},"required":["id","externalId","status","changedAt"]}},"required":["id","event","environment","createdAt","data"]}]}}}},"responses":{"200":{"description":"Any 2xx marks the delivery delivered"}}}}}}