TalentLyft API
HelpLoginRegisterGo to AppGo to TalentLyftRequest a Demo
  • 🎯Getting started
  • 🖥️Requests
  • 📨Responses
  • 🔐Authorization
  • ⚙️Customer API reference
    • Candidates
    • Departments
    • Employees
    • Events
    • Forms
    • Jobs
    • Members
    • Pipelines
    • Rejection reasons
    • Subscriptions
    • Articles
  • ⚙️Public API reference
    • Jobs
    • Departments
    • Locations
  • ⚙️Partner API reference
    • Assessments
    • HRIS & Onboarding
    • Background checks
    • Video Interviews
    • Job Boards
    • Sourcing & Employee referrals
Powered by GitBook
On this page
  1. Customer API reference

Rejection reasons

PreviousPipelinesNextSubscriptions
⚙️

Get reason

get
Authorizations
Path parameters
idinteger · int32Required
Header parameters
X-TL-CompanyIdguidOptional

Company Id

X-TL-SubdomainguidOptional

Account subdomain

X-TL-UserIdguidOptional

Team member id

Responses
200
Success
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
500
Server Error
application/json
get
GET /v2/rejection_reasons/{id} HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "Id": 1,
  "Name": "text",
  "Type": "NoneSpecified",
  "Actions": [
    {
      "Id": 1,
      "Type": "SendEmail",
      "Action": null
    }
  ]
}

Delete reason

delete
Authorizations
Path parameters
idinteger · int32Required
Query parameters
targetReasoninteger · int32Optional
Header parameters
X-TL-CompanyIdguidOptional

Company Id

X-TL-SubdomainguidOptional

Account subdomain

X-TL-UserIdguidOptional

Team member id

Responses
204
No Content
401
Unauthorized
application/json
403
Forbidden
application/json
422
Client Error
application/json
500
Server Error
application/json
delete
DELETE /v2/rejection_reasons/{id} HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*

No content

  • GETGet reasons
  • POSTCreate reason
  • GETGet reason
  • PUTUpdate reason
  • DELETEDelete reason

Get reasons

get
Authorizations
Query parameters
containsstringOptional
Header parameters
X-TL-CompanyIdguidOptional

Company Id

X-TL-SubdomainguidOptional

Account subdomain

X-TL-UserIdguidOptional

Team member id

Responses
200
Success
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
Server Error
application/json
get
GET /v2/rejection_reasons HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "Id": 1,
    "Name": "text",
    "Type": "NoneSpecified",
    "Actions": [
      {
        "Id": 1,
        "Type": "SendEmail",
        "Action": null
      }
    ]
  }
]

Create reason

post
Authorizations
Header parameters
X-TL-CompanyIdguidOptional

Company Id

X-TL-SubdomainguidOptional

Account subdomain

X-TL-UserIdguidOptional

Team member id

Body
Idinteger · int32Optional
Namestring · max: 50Required
Typestring · enumOptionalPossible values:
Responses
201
Created
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
422
Client Error
application/json
500
Server Error
application/json
post
POST /v2/rejection_reasons HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 99

{
  "Id": 1,
  "Name": "text",
  "Type": "NoneSpecified",
  "Actions": [
    {
      "Id": 1,
      "Type": "SendEmail",
      "Action": null
    }
  ]
}
{
  "Id": 1,
  "Name": "text",
  "Type": "NoneSpecified",
  "Actions": [
    {
      "Id": 1,
      "Type": "SendEmail",
      "Action": null
    }
  ]
}

Update reason

put
Authorizations
Path parameters
idinteger · int32Required
Header parameters
X-TL-CompanyIdguidOptional

Company Id

X-TL-SubdomainguidOptional

Account subdomain

X-TL-UserIdguidOptional

Team member id

Body
Idinteger · int32Optional
Namestring · max: 50Required
Typestring · enumOptionalPossible values:
Responses
204
No Content
401
Unauthorized
application/json
403
Forbidden
application/json
422
Client Error
application/json
500
Server Error
application/json
put
PUT /v2/rejection_reasons/{id} HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 99

{
  "Id": 1,
  "Name": "text",
  "Type": "NoneSpecified",
  "Actions": [
    {
      "Id": 1,
      "Type": "SendEmail",
      "Action": null
    }
  ]
}

No content