# Pinpoint

> Manage jobs, applications, candidates and comments in the Pinpoint applicant tracking system, and watch for new and updated applications and jobs.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/pinpoint

## Actions

### Add a comment

Add a comment to an application, candidate or job seeker. It is posted as your company's system user, and your team is notified.

**Inputs**

- Record type (`commentable_type`, text, required): The kind of record to comment on. One of: `applications`, `candidates`, `job_seekers` (Job seekers).
- Record ID (`commentable_id`, text, required): The ID of the application, candidate or job seeker to comment on.
- Comment (`body_text`, text, required): The comment, as plain text.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "body_text": "example",
        "category": "example",
        "commentable_id": 1,
        "commentable_type": "example",
        "created_at": "example",
        "private_comment": false,
        "updated_at": "example",
        "user_id": 1
      },
      "id": "example",
      "type": "comments"
    },
    "meta": {}
  }
}
```

### Create a job

Create a job. Every job needs a title, status, hiring workflow and structure link; an open job also needs a description, employment type, visibility, key responsibilities and their heading.

**Inputs**

- Title (`title`, text, required): The job title.
- Status (`status`, text, required): The job's status. A draft needs the least information; an open job skips any sign-off workflow. One of: `draft`, `pending_approval` (Pending approval), `open`, `closed`, `archived`.
- Hiring workflow (`selected_hiring_workflow_id`, text, required): The hiring workflow whose stages the job uses.
- Structure link (`structure_link_id`, text, required): The part of the company the job belongs to: its location, department and division.
- Description (`description`, text): The job description shown to candidates. Required to open a job.
- Employment type (`employment_type`, text): The kind of employment. Required to open a job. One of: `full_time` (Full time), `part_time` (Part time), `contract_temp` (Contract temp), `freelance`, `internship`, `permanent`, `fixed_term_contract` (Fixed term contract), `zero_hours` (Zero hours), `permanent_full_time` (Permanent full time), `permanent_part_time` (Permanent part time), and 15 more.
- Visibility (`visibility`, text): Who can see the job. Required to open a job. One of: `internal`, `external`, `confidential`, `private_job` (Private job).
- Workplace type (`workplace_type`, text): Where the work happens. One of: `onsite`, `hybrid`, `remote`.
- Key responsibilities (`key_responsibilities`, text): The job's key responsibilities. Required to open a job.
- External key responsibilities header (`external_key_responsibilities_header`, text): The heading shown above the key responsibilities. Required to open a job.
- Benefits (`benefits`, text): The benefits the job offers.
- Reporting to (`reporting_to`, text): Who the role reports to.
- Deadline on (`deadline_on`, date): The last day to apply.
- Compensation minimum (`compensation_minimum`, number): The lowest pay offered.
- Compensation maximum (`compensation_maximum`, number): The highest pay offered.
- Compensation currency (`compensation_currency`, text): The three-letter currency code of the pay, such as `GBP`.
- Compensation frequency (`compensation_frequency`, text): How often the pay is quoted, such as `year`.
- Hiring manager user email (`hiring_manager_user_email`, text): The email address of the Pinpoint user who is the hiring manager.
- Recruitment manager user email (`recruitment_manager_user_email`, text): The email address of the Pinpoint user who manages recruitment.
- External system reference (`external_system_reference`, text): The ID of this job in another system, kept for matching records later.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "about_company_theme_section": "example",
        "about_company_theme_section_header": "example",
        "application_form_url": "example",
        "ask_for_address": false,
        "ask_for_date_of_birth": false,
        "ask_for_linkedin_profile": false,
        "ask_for_middle_name": false,
        "assigned_onboarding_candidate_owner_user_email": "example",
        "assigned_onboarding_candidate_owner_user_id": 1,
        "assigned_onboarding_process_id": 1,
        "assigned_onboarding_process_name": "example",
        "benefits": "example",
        "benefits_header": "example",
        "blind_screening": false,
        "closed_at": "example",
        "company_name_override": "example",
        "compensation": "example",
        "compensation_currency": "example",
        "compensation_frequency": "example",
        "compensation_maximum": 1.0,
        "compensation_minimum": 1.0,
        "compensation_visible": false,
        "country_code": "example",
        "cover_letter_requirement": "example",
        "created_at": "example",
        "custom_country": "example",
        "custom_county": "example",
        "custom_town": "example",
        "deadline_at": "example",
        "deadline_on": "example",
        "description": "example",
        "diversity_monitoring": false,
        "diversity_monitoring_requirement": "example",
        "draft_job_additional_information": "example",
        "employment_type": "example",
        "employment_type_text": "example",
        "experience_level": "example",
        "external_benefits_header": "example",
        "external_key_responsibilities_header": "example",
        "external_skills_knowledge_expertise_header": "example",
        "external_system_reference": "example",
        "filled_at": "example",
        "headcount_maximum": 1,
        "headcount_maximum_enabled": false,
        "hiring_manager_user_email": "example",
        "hiring_user_id": "example",
        "is_compensation_visible": false,
        "is_remote_with_location_restrictions": false,
        "key_responsibilities": "example",
        "key_responsibilities_header": "example",
        "linkedin": false,
        "linkedin_company_id": "example",
        "monster": false,
        "notify": false,
        "on_hold_in_seconds": 1,
        "onboarding_process_id": 1,
        "opened_at": "example",
        "path": "example",
        "personal_summary_requirement": "example",
        "recruitment_manager_user_email": "example",
        "recruitment_manager_user_id": "example",
        "referral_amount": 1.0,
        "referral_currency": "example",
        "referral_details": "example",
        "referrals_enabled": false,
        "remote": false,
        "reporting_to": "example",
        "require_phone": false,
        "requisition_id": "example",
        "resume_requirement": "example",
        "selected_hiring_workflow_id": "example",
        "skills_knowledge_expertise": "example",
        "skills_knowledge_expertise_header": "example",
        "status": "example",
        "talentdotcom": false,
        "title": "example",
        "updated_at": "example",
        "url": "example",
        "users_emails_with_job_level_visibility": [],
        "uuid": "example",
        "visibility": "example",
        "workplace_type": "example",
        "workplace_type_text": "example",
        "ziprecruiter": false
      },
      "id": "example",
      "type": "jobs"
    },
    "meta": {}
  }
}
```

### Create an application

Add an applicant to a job. Pinpoint needs a first name, last name and email; a job can also require a phone number, address or summary.

**Inputs**

- Job (`job_id`, text, required): The job the application is for.
- First name (`first_name`, text, required): The applicant's first name.
- Last name (`last_name`, text, required): The applicant's last name.
- Email (`email`, text, required): The applicant's email address.
- Phone (`phone`, text): The applicant's phone number. Some jobs require it, with its country.
- Phone iso2 (`phone_iso2`, text): The two-letter country code of the phone number, such as `GB` or `US`.
- Preferred name (`preferred_name`, text): The name the applicant prefers to be called.
- Linkedin URL (`linkedin_url`, text): A link to the applicant's LinkedIn profile.
- Address1 (`address1`, text): The first line of the applicant's address.
- Town (`town`, text): The applicant's town or city.
- State province (`state_province`, text): The applicant's state, for a US address.
- Postcode (`postcode`, text): The applicant's postal code.
- Country (`country`, text): The applicant's country.
- Date of birth (`date_of_birth`, date): The applicant's date of birth.
- External system reference (`external_system_reference`, text): The ID of this application in another system, kept for matching records later.
- Summary (`summary`, text): The applicant's personal summary. Some jobs require it.
- Stage (`stage_id`, text): The stage to put the application in. Leave it empty for the job's first stage.
- Skip notifications on create (`skip_notifications_on_create`, true/false): Don't send the applicant or your team the usual new-application emails, for example when importing applicants.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "add_tag_with_context": {},
        "add_tags_with_context": [],
        "address1": "example",
        "address2": "example",
        "ai_score": {},
        "attachments": [],
        "average_rating": 1.0,
        "candidate_id": 1,
        "channel": "example",
        "channel_source": "example",
        "concealed": false,
        "country": "example",
        "country_code": "example",
        "country_code_alpha3": "example",
        "country_name": "example",
        "cover_letter_base64_data": "example",
        "cover_letter_base64_filename": "example",
        "create_pdf_application": false,
        "created_at": "example",
        "cv_base64_data": "example",
        "cv_base64_filename": "example",
        "cv_signed_id": "example",
        "date_of_birth": "example",
        "days_in_current_stage": 1,
        "documents_base64": [],
        "email": "example",
        "equality_monitoring_option_ids": [],
        "external_system_reference": "example",
        "first_name": "example",
        "full_name": "example",
        "hired_at": "example",
        "internal_candidate": false,
        "is_demo": false,
        "job_id": 1,
        "job_posting_id": 1,
        "last_name": "example",
        "linkedin_url": "example",
        "locale": "example",
        "national_identifier": "example",
        "phone": "example",
        "phone_iso2": "example",
        "postcode": "example",
        "preferred_name": "example",
        "preferred_pronouns": "example",
        "rejected_at": "example",
        "remove_tag_with_context": {},
        "remove_tags_with_context": [],
        "skip_notifications_on_create": false,
        "stage_id": 1,
        "start_on": "example",
        "state_province": "example",
        "summary": "example",
        "tags": [],
        "town": "example",
        "updated_at": "example",
        "uuid": "example"
      },
      "id": "example",
      "type": "applications"
    },
    "meta": {}
  }
}
```

### Delete a comment

Delete a comment.

**Inputs**

- Comment ID (`comment_id`, text, required): The ID of the comment.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "meta": {}
  }
}
```

### Delete a job

Delete a job.

**Inputs**

- Job (`job_id`, text, required): The ID of the job.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "meta": {}
  }
}
```

### Delete an application

Delete a job application.

**Inputs**

- Application ID (`application_id`, text, required): The ID of the application.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "meta": {}
  }
}
```

### Get a candidate

Get one candidate.

**Inputs**

- Candidate ID (`candidate_id`, text, required): The ID of the candidate.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "address1": "example",
        "address2": "example",
        "attachments": [],
        "blocked": false,
        "country": "example",
        "created_at": "example",
        "date_of_birth": "example",
        "documents_base64": [],
        "email": "example",
        "external_system_reference": "example",
        "first_name": "example",
        "full_name": "example",
        "last_name": "example",
        "locale": "example",
        "middle_name": "example",
        "phone": "example",
        "phone_iso2": "example",
        "postcode": "example",
        "preferred_name": "example",
        "state_province": "example",
        "tags": [],
        "town": "example",
        "updated_at": "example"
      },
      "id": "example",
      "type": "candidates"
    },
    "meta": {}
  }
}
```

### Get a comment

Get one comment.

**Inputs**

- Comment ID (`comment_id`, text, required): The ID of the comment.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "body_text": "example",
        "category": "example",
        "commentable_id": 1,
        "commentable_type": "example",
        "created_at": "example",
        "private_comment": false,
        "updated_at": "example",
        "user_id": 1
      },
      "id": "example",
      "type": "comments"
    },
    "meta": {}
  }
}
```

### Get a hiring workflow

Get one hiring workflow, with its stages in `included`.

**Inputs**

- Hiring workflow (`hiring_workflow_id`, text, required): The ID of the hiring workflow.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "created_at": "example",
        "external_system_reference": "example",
        "name": "example",
        "updated_at": "example"
      },
      "id": "example",
      "type": "hiring_workflows"
    },
    "included": [],
    "meta": {}
  }
}
```

### Get a job

Get one job, with the stages of its hiring workflow in `included`.

**Inputs**

- Job (`job_id`, text, required): The ID of the job.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "about_company_theme_section": "example",
        "about_company_theme_section_header": "example",
        "application_form_url": "example",
        "ask_for_address": false,
        "ask_for_date_of_birth": false,
        "ask_for_linkedin_profile": false,
        "ask_for_middle_name": false,
        "assigned_onboarding_candidate_owner_user_email": "example",
        "assigned_onboarding_candidate_owner_user_id": 1,
        "assigned_onboarding_process_id": 1,
        "assigned_onboarding_process_name": "example",
        "benefits": "example",
        "benefits_header": "example",
        "blind_screening": false,
        "closed_at": "example",
        "company_name_override": "example",
        "compensation": "example",
        "compensation_currency": "example",
        "compensation_frequency": "example",
        "compensation_maximum": 1.0,
        "compensation_minimum": 1.0,
        "compensation_visible": false,
        "country_code": "example",
        "cover_letter_requirement": "example",
        "created_at": "example",
        "custom_country": "example",
        "custom_county": "example",
        "custom_town": "example",
        "deadline_at": "example",
        "deadline_on": "example",
        "description": "example",
        "diversity_monitoring": false,
        "diversity_monitoring_requirement": "example",
        "draft_job_additional_information": "example",
        "employment_type": "example",
        "employment_type_text": "example",
        "experience_level": "example",
        "external_benefits_header": "example",
        "external_key_responsibilities_header": "example",
        "external_skills_knowledge_expertise_header": "example",
        "external_system_reference": "example",
        "filled_at": "example",
        "headcount_maximum": 1,
        "headcount_maximum_enabled": false,
        "hiring_manager_user_email": "example",
        "hiring_user_id": "example",
        "is_compensation_visible": false,
        "is_remote_with_location_restrictions": false,
        "key_responsibilities": "example",
        "key_responsibilities_header": "example",
        "linkedin": false,
        "linkedin_company_id": "example",
        "monster": false,
        "notify": false,
        "on_hold_in_seconds": 1,
        "onboarding_process_id": 1,
        "opened_at": "example",
        "path": "example",
        "personal_summary_requirement": "example",
        "recruitment_manager_user_email": "example",
        "recruitment_manager_user_id": "example",
        "referral_amount": 1.0,
        "referral_currency": "example",
        "referral_details": "example",
        "referrals_enabled": false,
        "remote": false,
        "reporting_to": "example",
        "require_phone": false,
        "requisition_id": "example",
        "resume_requirement": "example",
        "selected_hiring_workflow_id": "example",
        "skills_knowledge_expertise": "example",
        "skills_knowledge_expertise_header": "example",
        "status": "example",
        "talentdotcom": false,
        "title": "example",
        "updated_at": "example",
        "url": "example",
        "users_emails_with_job_level_visibility": [],
        "uuid": "example",
        "visibility": "example",
        "workplace_type": "example",
        "workplace_type_text": "example",
        "ziprecruiter": false
      },
      "id": "example",
      "type": "jobs"
    },
    "included": [],
    "meta": {}
  }
}
```

### Get an application

Get one job application.

**Inputs**

- Application ID (`application_id`, text, required): The ID of the application.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "add_tag_with_context": {},
        "add_tags_with_context": [],
        "address1": "example",
        "address2": "example",
        "ai_score": {},
        "attachments": [],
        "average_rating": 1.0,
        "candidate_id": 1,
        "channel": "example",
        "channel_source": "example",
        "concealed": false,
        "country": "example",
        "country_code": "example",
        "country_code_alpha3": "example",
        "country_name": "example",
        "cover_letter_base64_data": "example",
        "cover_letter_base64_filename": "example",
        "create_pdf_application": false,
        "created_at": "example",
        "cv_base64_data": "example",
        "cv_base64_filename": "example",
        "cv_signed_id": "example",
        "date_of_birth": "example",
        "days_in_current_stage": 1,
        "documents_base64": [],
        "email": "example",
        "equality_monitoring_option_ids": [],
        "external_system_reference": "example",
        "first_name": "example",
        "full_name": "example",
        "hired_at": "example",
        "internal_candidate": false,
        "is_demo": false,
        "job_id": 1,
        "job_posting_id": 1,
        "last_name": "example",
        "linkedin_url": "example",
        "locale": "example",
        "national_identifier": "example",
        "phone": "example",
        "phone_iso2": "example",
        "postcode": "example",
        "preferred_name": "example",
        "preferred_pronouns": "example",
        "rejected_at": "example",
        "remove_tag_with_context": {},
        "remove_tags_with_context": [],
        "skip_notifications_on_create": false,
        "stage_id": 1,
        "start_on": "example",
        "state_province": "example",
        "summary": "example",
        "tags": [],
        "town": "example",
        "updated_at": "example",
        "uuid": "example"
      },
      "id": "example",
      "type": "applications"
    },
    "meta": {}
  }
}
```

### Get an interview

Get one interview.

**Inputs**

- Interview ID (`interview_id`, text, required): The ID of the interview.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "created_at": "example",
        "end_at": "example",
        "interviewable_id": 1,
        "interviewable_type": "example",
        "presence": "example",
        "start_at": "example",
        "status": "example",
        "summary": "example",
        "updated_at": "example"
      },
      "id": "example",
      "type": "interviews"
    },
    "meta": {}
  }
}
```

### List applications

List job applications, with filters for job, candidate, stage and dates.

**Inputs**

- Job (`job_id`, text): Only applications to this job.
- Candidate ID (`candidate_id`, text): Only applications from this candidate.
- Stage type (`stage_type`, list): Only applications in stages of these kinds. One or more of: `applied`, `rejected`, `review`, `interview`, `hired`, `offer`, `sourced`.
- Candidate email (`candidate_email`, text): Only applications from this email address.
- Job visibility (`job_visibility`, list): Only applications to jobs with these visibilities. Confidential jobs are left out unless you choose them. One or more of: `internal`, `external`, `confidential`, `private_job` (Private job).
- Created after (`created_after`, date and time): Only applications created after this time.
- Created before (`created_before`, date and time): Only applications created before this time.
- Updated after (`updated_after`, date and time): Only applications changed after this time.
- Updated before (`updated_before`, date and time): Only applications changed before this time.
- Sort (`sort`, text): The order to return records in. A leading minus sorts newest or largest first. One of: `-created_at` (-created at), `created_at` (Created at), `-updated_at` (-updated at), `updated_at` (Updated at), `-id`, `id`.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many records to return on each page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {}
  }
}
```

### List candidates

List candidates: the people behind your applications.

**Inputs**

- Phone (`phone`, text): Only candidates with this phone number, in international format such as `+447700900123`.
- Created after (`created_after`, date and time): Only candidates created after this time.
- Created before (`created_before`, date and time): Only candidates created before this time.
- Updated after (`updated_after`, date and time): Only candidates changed after this time.
- Updated before (`updated_before`, date and time): Only candidates changed before this time.
- Sort (`sort`, text): The order to return records in. A leading minus sorts newest or largest first. One of: `-created_at` (-created at), `created_at` (Created at), `-updated_at` (-updated at), `updated_at` (Updated at), `-id`, `id`.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many records to return on each page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {}
  }
}
```

### List comments

List comments left on applications, candidates and jobs.

**Inputs**

- Record type (`commentable_type`, text): Only comments on this kind of record. One of: `Application`, `Candidate`, `JobSeeker`, `Job`.
- Record ID (`commentable_id`, text): Only comments on the record with this ID.
- Created after (`created_after`, date and time): Only comments created after this time.
- Created before (`created_before`, date and time): Only comments created before this time.
- Updated after (`updated_after`, date and time): Only comments changed after this time.
- Updated before (`updated_before`, date and time): Only comments changed before this time.
- Sort (`sort`, text): The order to return records in. A leading minus sorts newest or largest first. One of: `-created_at` (-created at), `created_at` (Created at), `-updated_at` (-updated at), `updated_at` (Updated at), `-id`, `id`.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many records to return on each page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {}
  }
}
```

### List departments

List your company's departments.

**Inputs**

- Sort (`sort`, text): The order to return records in. A leading minus sorts newest or largest first. One of: `-created_at` (-created at), `created_at` (Created at), `-updated_at` (-updated at), `updated_at` (Updated at), `-id`, `id`.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many records to return on each page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {}
  }
}
```

### List hiring workflows

List the hiring workflows a job can follow.

**Inputs**

- Sort (`sort`, text): The order to return records in. A leading minus sorts newest or largest first. One of: `-created_at` (-created at), `created_at` (Created at), `-updated_at` (-updated at), `updated_at` (Updated at), `-id`, `id`.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many records to return on each page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {}
  }
}
```

### List interviews

List scheduled interviews.

**Inputs**

- Start after (`start_after`, date and time): Only interviews starting after this time.
- Start before (`start_before`, date and time): Only interviews starting before this time.
- Application ID (`application_id`, text): Only interviews for this application.
- Presence (`presence`, text): Only interviews where the candidate attended or didn't show up. One of: `attended`, `no_show` (No show).
- Sort (`sort`, text): The order to return records in. A leading minus sorts newest or largest first. One of: `-created_at` (-created at), `created_at` (Created at), `-updated_at` (-updated at), `updated_at` (Updated at), `-id`, `id`, `-start_at` (-start at), `start_at` (Start at).
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many records to return on each page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {}
  }
}
```

### List jobs

List the jobs in your Pinpoint account, newest first by default, with filters for status, visibility, department and more.

**Inputs**

- Status (`status`, list): Only jobs in these statuses. One or more of: `open`, `closed`, `archived`, `pending_approval` (Pending approval), `draft`, `hold`, `cancelled`, `filled`, `preview`.
- Visibility (`visibility`, list): Only jobs with these visibilities. One or more of: `internal`, `external`, `confidential`, `private_job` (Private job).
- Employment type (`employment_type`, list): Only jobs of these employment types. One or more of: `full_time` (Full time), `part_time` (Part time), `contract_temp` (Contract temp), `freelance`, `internship`, `permanent`, `fixed_term_contract` (Fixed term contract), `zero_hours` (Zero hours), `permanent_full_time` (Permanent full time), `permanent_part_time` (Permanent part time), and 15 more.
- Workplace type (`workplace_type`, list): Only jobs with these workplace types. One or more of: `onsite`, `hybrid`, `remote`.
- Search (`search`, text): Only jobs that match this text.
- Department (`department_id`, text): Only jobs in this department.
- Location (`location_id`, text): Only jobs at this location.
- Hiring manager user (`hiring_manager_user_id`, text): Only jobs with this hiring manager.
- Created after (`created_after`, date and time): Only jobs created after this time.
- Created before (`created_before`, date and time): Only jobs created before this time.
- Updated after (`updated_after`, date and time): Only jobs changed after this time.
- Updated before (`updated_before`, date and time): Only jobs changed before this time.
- Sort (`sort`, text): The order to return records in. A leading minus sorts newest or largest first. One of: `-created_at` (-created at), `created_at` (Created at), `-updated_at` (-updated at), `updated_at` (Updated at), `-id`, `id`.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many records to return on each page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {}
  }
}
```

### List locations

List your company's locations.

**Inputs**

- Sort (`sort`, text): The order to return records in. A leading minus sorts newest or largest first. One of: `-created_at` (-created at), `created_at` (Created at), `-updated_at` (-updated at), `updated_at` (Updated at), `-id`, `id`.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many records to return on each page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {}
  }
}
```

### List structure links

List the parts of your company a job can belong to, each a combination of location, department and division.

**Inputs**

- Sort (`sort`, text): The order to return records in. A leading minus sorts newest or largest first. One of: `-created_at` (-created at), `created_at` (Created at), `-updated_at` (-updated at), `updated_at` (Updated at), `-id`, `id`.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many records to return on each page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {}
  }
}
```

### List users

List the people who use your Pinpoint account.

**Inputs**

- Email (`email`, text): Only the user with this email address.
- Sort (`sort`, text): The order to return records in. A leading minus sorts newest or largest first. One of: `-created_at` (-created at), `created_at` (Created at), `-updated_at` (-updated at), `updated_at` (Updated at), `-id`, `id`.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many records to return on each page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {}
  }
}
```

### Update a candidate

Change a candidate's details. Only the fields you fill in are changed.

**Inputs**

- Candidate ID (`candidate_id`, text, required): The ID of the candidate.
- First name (`first_name`, text): The candidate's first name.
- Last name (`last_name`, text): The candidate's last name.
- Middle name (`middle_name`, text): The candidate's middle name.
- Preferred name (`preferred_name`, text): The name the candidate prefers to be called.
- Email (`email`, text): The candidate's email address.
- Phone (`phone`, text): The candidate's phone number.
- Phone iso2 (`phone_iso2`, text): The two-letter country code of the phone number, such as `GB` or `US`.
- Address1 (`address1`, text): The first line of the candidate's address.
- Town (`town`, text): The candidate's town or city.
- State province (`state_province`, text): The candidate's state, for a US address.
- Postcode (`postcode`, text): The candidate's postal code.
- Country (`country`, text): The candidate's country.
- Date of birth (`date_of_birth`, date): The candidate's date of birth.
- Blocked (`blocked`, true/false): Block the candidate from applying again.
- External system reference (`external_system_reference`, text): The ID of this candidate in another system.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "address1": "example",
        "address2": "example",
        "attachments": [],
        "blocked": false,
        "country": "example",
        "created_at": "example",
        "date_of_birth": "example",
        "documents_base64": [],
        "email": "example",
        "external_system_reference": "example",
        "first_name": "example",
        "full_name": "example",
        "last_name": "example",
        "locale": "example",
        "middle_name": "example",
        "phone": "example",
        "phone_iso2": "example",
        "postcode": "example",
        "preferred_name": "example",
        "state_province": "example",
        "tags": [],
        "town": "example",
        "updated_at": "example"
      },
      "id": "example",
      "type": "candidates"
    },
    "meta": {}
  }
}
```

### Update a job

Change a job's details. Only the fields you fill in are changed.

**Inputs**

- Job (`job_id`, text, required): The ID of the job.
- Title (`title`, text): The job title.
- Status (`status`, text): The job's status. One of: `open`, `closed`, `archived`, `pending_approval` (Pending approval), `draft`, `hold`, `cancelled`, `filled`, `preview`.
- Description (`description`, text): The job description shown to candidates. Required to open a job.
- Employment type (`employment_type`, text): The kind of employment. Required to open a job. One of: `full_time` (Full time), `part_time` (Part time), `contract_temp` (Contract temp), `freelance`, `internship`, `permanent`, `fixed_term_contract` (Fixed term contract), `zero_hours` (Zero hours), `permanent_full_time` (Permanent full time), `permanent_part_time` (Permanent part time), and 15 more.
- Visibility (`visibility`, text): Who can see the job. Required to open a job. One of: `internal`, `external`, `confidential`, `private_job` (Private job).
- Workplace type (`workplace_type`, text): Where the work happens. One of: `onsite`, `hybrid`, `remote`.
- Key responsibilities (`key_responsibilities`, text): The job's key responsibilities. Required to open a job.
- External key responsibilities header (`external_key_responsibilities_header`, text): The heading shown above the key responsibilities. Required to open a job.
- Benefits (`benefits`, text): The benefits the job offers.
- Reporting to (`reporting_to`, text): Who the role reports to.
- Deadline on (`deadline_on`, date): The last day to apply.
- Compensation minimum (`compensation_minimum`, number): The lowest pay offered.
- Compensation maximum (`compensation_maximum`, number): The highest pay offered.
- Compensation currency (`compensation_currency`, text): The three-letter currency code of the pay, such as `GBP`.
- Compensation frequency (`compensation_frequency`, text): How often the pay is quoted, such as `year`.
- Hiring manager user email (`hiring_manager_user_email`, text): The email address of the Pinpoint user who is the hiring manager.
- Recruitment manager user email (`recruitment_manager_user_email`, text): The email address of the Pinpoint user who manages recruitment.
- External system reference (`external_system_reference`, text): The ID of this job in another system, kept for matching records later.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "about_company_theme_section": "example",
        "about_company_theme_section_header": "example",
        "application_form_url": "example",
        "ask_for_address": false,
        "ask_for_date_of_birth": false,
        "ask_for_linkedin_profile": false,
        "ask_for_middle_name": false,
        "assigned_onboarding_candidate_owner_user_email": "example",
        "assigned_onboarding_candidate_owner_user_id": 1,
        "assigned_onboarding_process_id": 1,
        "assigned_onboarding_process_name": "example",
        "benefits": "example",
        "benefits_header": "example",
        "blind_screening": false,
        "closed_at": "example",
        "company_name_override": "example",
        "compensation": "example",
        "compensation_currency": "example",
        "compensation_frequency": "example",
        "compensation_maximum": 1.0,
        "compensation_minimum": 1.0,
        "compensation_visible": false,
        "country_code": "example",
        "cover_letter_requirement": "example",
        "created_at": "example",
        "custom_country": "example",
        "custom_county": "example",
        "custom_town": "example",
        "deadline_at": "example",
        "deadline_on": "example",
        "description": "example",
        "diversity_monitoring": false,
        "diversity_monitoring_requirement": "example",
        "draft_job_additional_information": "example",
        "employment_type": "example",
        "employment_type_text": "example",
        "experience_level": "example",
        "external_benefits_header": "example",
        "external_key_responsibilities_header": "example",
        "external_skills_knowledge_expertise_header": "example",
        "external_system_reference": "example",
        "filled_at": "example",
        "headcount_maximum": 1,
        "headcount_maximum_enabled": false,
        "hiring_manager_user_email": "example",
        "hiring_user_id": "example",
        "is_compensation_visible": false,
        "is_remote_with_location_restrictions": false,
        "key_responsibilities": "example",
        "key_responsibilities_header": "example",
        "linkedin": false,
        "linkedin_company_id": "example",
        "monster": false,
        "notify": false,
        "on_hold_in_seconds": 1,
        "onboarding_process_id": 1,
        "opened_at": "example",
        "path": "example",
        "personal_summary_requirement": "example",
        "recruitment_manager_user_email": "example",
        "recruitment_manager_user_id": "example",
        "referral_amount": 1.0,
        "referral_currency": "example",
        "referral_details": "example",
        "referrals_enabled": false,
        "remote": false,
        "reporting_to": "example",
        "require_phone": false,
        "requisition_id": "example",
        "resume_requirement": "example",
        "selected_hiring_workflow_id": "example",
        "skills_knowledge_expertise": "example",
        "skills_knowledge_expertise_header": "example",
        "status": "example",
        "talentdotcom": false,
        "title": "example",
        "updated_at": "example",
        "url": "example",
        "users_emails_with_job_level_visibility": [],
        "uuid": "example",
        "visibility": "example",
        "workplace_type": "example",
        "workplace_type_text": "example",
        "ziprecruiter": false
      },
      "id": "example",
      "type": "jobs"
    },
    "meta": {}
  }
}
```

### Update an application

Change an applicant's details or move the application to another stage. Only the fields you fill in are changed.

**Inputs**

- Application ID (`application_id`, text, required): The ID of the application.
- First name (`first_name`, text): The applicant's first name.
- Last name (`last_name`, text): The applicant's last name.
- Email (`email`, text): The applicant's email address.
- Phone (`phone`, text): The applicant's phone number. Some jobs require it, with its country.
- Phone iso2 (`phone_iso2`, text): The two-letter country code of the phone number, such as `GB` or `US`.
- Preferred name (`preferred_name`, text): The name the applicant prefers to be called.
- Linkedin URL (`linkedin_url`, text): A link to the applicant's LinkedIn profile.
- Address1 (`address1`, text): The first line of the applicant's address.
- Town (`town`, text): The applicant's town or city.
- State province (`state_province`, text): The applicant's state, for a US address.
- Postcode (`postcode`, text): The applicant's postal code.
- Country (`country`, text): The applicant's country.
- Date of birth (`date_of_birth`, date): The applicant's date of birth.
- External system reference (`external_system_reference`, text): The ID of this application in another system, kept for matching records later.
- Stage (`stage_id`, text): Move the application to this stage of its job.
- Hired at (`hired_at`, date and time): When the applicant was hired.
- Start on (`start_on`, date): The day the hired applicant starts.

**Outputs**

- `data` (object): The response from Pinpoint.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "add_tag_with_context": {},
        "add_tags_with_context": [],
        "address1": "example",
        "address2": "example",
        "ai_score": {},
        "attachments": [],
        "average_rating": 1.0,
        "candidate_id": 1,
        "channel": "example",
        "channel_source": "example",
        "concealed": false,
        "country": "example",
        "country_code": "example",
        "country_code_alpha3": "example",
        "country_name": "example",
        "cover_letter_base64_data": "example",
        "cover_letter_base64_filename": "example",
        "create_pdf_application": false,
        "created_at": "example",
        "cv_base64_data": "example",
        "cv_base64_filename": "example",
        "cv_signed_id": "example",
        "date_of_birth": "example",
        "days_in_current_stage": 1,
        "documents_base64": [],
        "email": "example",
        "equality_monitoring_option_ids": [],
        "external_system_reference": "example",
        "first_name": "example",
        "full_name": "example",
        "hired_at": "example",
        "internal_candidate": false,
        "is_demo": false,
        "job_id": 1,
        "job_posting_id": 1,
        "last_name": "example",
        "linkedin_url": "example",
        "locale": "example",
        "national_identifier": "example",
        "phone": "example",
        "phone_iso2": "example",
        "postcode": "example",
        "preferred_name": "example",
        "preferred_pronouns": "example",
        "rejected_at": "example",
        "remove_tag_with_context": {},
        "remove_tags_with_context": [],
        "skip_notifications_on_create": false,
        "stage_id": 1,
        "start_on": "example",
        "state_province": "example",
        "summary": "example",
        "tags": [],
        "town": "example",
        "updated_at": "example",
        "uuid": "example"
      },
      "id": "example",
      "type": "applications"
    },
    "meta": {}
  }
}
```
