# Loxo

> Manage people, companies and jobs, work job pipelines, and log recruiting activity.

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

## Actions

### Apply a person to a job

Submit an application to a published job for someone, as if they applied themselves.

**Inputs**

- Job (`job_id`, number, required): The job's ID.
- Name (`name`, text, required): The applicant's name.
- Email (`email`, text, required): The applicant's email address. Loxo uses an existing person with this address.
- Phone (`phone`, text, required): The applicant's phone number.
- LinkedIn URL (`linkedin`, text): The applicant's LinkedIn profile URL.
- Source type ID (`source_type_id`, number): The ID of where the applicant came from.

**Outputs**

- `data` (object): The application. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Create a company

Add a company (a client or employer) to Loxo.

**Inputs**

- Name (`name`, text, required): The company's name.
- Website (`url`, text): The company's website URL.
- Description (`description`, text): A description of the company.
- Culture (`culture`, text): Notes on the company's culture.
- Owner email (`owner_email`, text): The email address of the user who owns the company.
- Company type ID (`company_type_id`, number): The ID of the company's type.
- Fee (`fee`, number): The fee agreed with the company.

**Outputs**

- `data` (object): The new company. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Create a job

Create a job (a search, requisition or opening) in Loxo.

**Inputs**

- Title (`title`, text, required): The job's title.
- Company name (`company_name`, text, required): The name of the company the job is for.
- Job type ID (`job_type_id`, number, required): The ID of the job's type, from List job types.
- Company ID (`company_id`, number): The ID of the company the job is for, when it is in Loxo.
- Job status ID (`job_status_id`, number): The ID of the job's status, from List job statuses.
- Description (`description`, text): The job description.
- Internal notes (`internal_notes`, text): Notes about the job for your team only.
- Salary (`salary`, text): The job's salary, as text.
- Address (`address`, text): The job's street address.
- City (`city`, text): The job's city.
- ZIP or postal code (`zip`, text): The job's ZIP or postal code.
- Remote work allowed (`remote_work_allowed`, true/false): Whether the job can be done remotely.
- Published (`published`, true/false): Whether the job is published to the career page.
- Public title (`published_name`, text): The title shown on the career page. Leave blank to use the title.
- Unpublish at (`published_end_date`, date and time): When to stop showing the job on the career page.
- Owner emails (`owner_emails`, list): The email addresses of the users who own the job.
- Active (`active`, true/false): Whether the job is active.

**Outputs**

- `data` (object): The new job. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Create a person

Add a person (a candidate or contact) to Loxo.

**Inputs**

- Name (`name`, text, required): The person's full name.
- Email (`email`, text): The person's email address.
- Phone (`phone`, text): The person's phone number.
- Job title (`title`, text): The title of the person's current job.
- Current company (`company`, text): The name of the company the person works at now.
- LinkedIn URL (`linkedin_url`, text): The URL of the person's LinkedIn profile.
- Website (`website`, text): The URL of the person's website.
- Location (`location`, text): Where the person is, as free text.
- Address (`address`, text): The person's street address.
- City (`city`, text): The person's city.
- State (`state`, text): The person's state or region.
- ZIP or postal code (`zip`, text): The person's ZIP or postal code.
- Country (`country`, text): The person's country.
- Notes (`description`, text): Intake or recruiter notes about the person.
- Tags (`tags`, list): Tags for the person.
- Person type IDs (`person_type_ids`, list): The IDs of the person's types, such as candidate or contact.
- Source type ID (`source_type_id`, number): The ID of where the person came from.
- Owner ID (`owner_id`, number): The ID of the user who owns the person.
- Salary (`salary`, number): The person's current salary.
- Compensation (`compensation`, number): The person's expected compensation.
- Compensation notes (`compensation_notes`, text): Notes about the person's compensation.

**Outputs**

- `data` (object): The new person. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Delete a job

Delete a job. Loxo removes it shortly after, and refuses if it has placements you may not delete.

**Inputs**

- Job (`job_id`, number, required): The job's ID.

**Outputs**

- `data` (object): Loxo's confirmation. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Delete an activity

Delete a logged activity.

**Inputs**

- Activity (`person_event_id`, number, required): The activity's ID.

**Outputs**

- `data` (object): Loxo's confirmation. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Get a company

Get one company.

**Inputs**

- Company (`company_id`, number, required): The company's ID.

**Outputs**

- `data` (object): The company. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Get a job

Get one job.

**Inputs**

- Job (`job_id`, number, required): The job's ID.

**Outputs**

- `data` (object): The job. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Get a person

Get one person, with their notes.

**Inputs**

- Person (`person_id`, number, required): The person's ID.

**Outputs**

- `data` (object): The person. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Get the connected user

Get the Loxo user whose API key is connected.

**Inputs**: None.

**Outputs**

- `data` (object): The connected user's ID, name and email address. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### List a job's candidates

List the candidates in a job's hiring pipeline.

**Inputs**

- Job (`job_id`, number, required): The job's ID.
- Search (`query`, text): Words to search for. Loxo also takes field searches such as `title:engineer`.
- Per page (`per_page`, number): How many results to return on each page. At least 1.
- Next page cursor (`scroll_id`, text): The cursor from the previous page's answer, to get the next page.
- Stage ID (`activity_type_id`, number): Only list candidates at this pipeline stage.
- Person ID (`person_id`, number): Only list this person's place in the pipeline.

**Outputs**

- `data` (object): A page of the job's candidates. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### List activities

List logged activities such as calls, emails, notes and meetings, for a person, company or job.

**Inputs**

- Search (`query`, text): Words to search for. Loxo also takes field searches such as `title:engineer`.
- Per page (`per_page`, number): How many results to return on each page. At least 1.
- Page (`page`, number): The page of results to return, starting at 1. At least 1.
- Person ID (`person_id`, number): Only list activities for this person.
- Company ID (`company_id`, number): Only list activities for this company.
- Job IDs (`job_ids`, list): Only list activities for these jobs.
- Activity type IDs (`activity_type_ids`, list): Only list activities of these types.
- Sort by created (`created_at_sort`, text): Sort by when activities were logged, newest first (desc) or oldest first (asc). One of: `asc`, `desc`.
- Notes format (`notes_format`, text): Return notes as HTML (the default) or plain text. One of: `html`, `plain`.

**Outputs**

- `data` (object): A page of activities. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### List activity types

List the kinds of activity you can log, including each pipeline stage.

**Inputs**

- Workflow ID (`loxo_workflow_id`, number): Only list the activity types of this workflow.

**Outputs**

- `data` (object): The activity types. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### List job statuses

List the statuses a job can have.

**Inputs**: None.

**Outputs**

- `data` (object): The job statuses. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### List job types

List the job types, such as full time, contract or temporary.

**Inputs**: None.

**Outputs**

- `data` (object): The job types. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### List users

List the agency's users, or find one by name or email.

**Inputs**

- Name or email (`name`, text): Only list users whose name or email contains this text.

**Outputs**

- `data` (object): The agency's users. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Log an activity

Log a call, email, note, meeting or interview, or move a candidate to a pipeline stage on a job.

**Inputs**

- Activity type ID (`activity_type_id`, number, required): The ID of the activity type, from List activity types. A pipeline stage's type moves the person to that stage on the job.
- Person ID (`person_id`, number): The ID of the person the activity is about.
- Job ID (`job_id`, number): The ID of the job the activity is about, if any.
- Company ID (`company_id`, number): The ID of the company the activity is about, if any.
- Notes (`notes`, text): Notes about the activity.
- Pinned (`pinned`, true/false): Whether to pin the activity to the top of the record.

**Outputs**

- `data` (object): The logged activity. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Remove a candidate from a job

Take a candidate off a job's pipeline.

**Inputs**

- Job (`job_id`, number, required): The job's ID.
- Candidate (`candidate_id`, number, required): The candidate's ID.

**Outputs**

- `data` (object): Loxo's confirmation. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Search companies

Search and list companies by name, email, phone, website, location or description.

**Inputs**

- Search (`query`, text): Words to search for. Loxo also takes field searches such as `title:engineer`.
- Per page (`per_page`, number): How many results to return on each page. At least 1.
- Next page cursor (`scroll_id`, text): The cursor from the previous page's answer, to get the next page.
- Company type ID (`company_type_id`, number): Only list companies of this type.
- List ID (`list_id`, number): Only list companies on this list.

**Outputs**

- `data` (object): A page of companies. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Search jobs

Search and list jobs by title, company, description, location or salary.

**Inputs**

- Search (`query`, text): Words to search for. Loxo also takes field searches such as `title:engineer`.
- Per page (`per_page`, number): How many results to return on each page. At least 1.
- Page (`page`, number): The page of results to return, starting at 1. At least 1.
- Status (`status`, text): Only list active or inactive jobs. One of: `active`, `inactive`.
- Job status ID (`job_status_id`, number): Only list jobs with this status.
- Job type ID (`job_type_id`, number): Only list jobs of this type.
- Published (`published`, true/false): Only list published jobs, or only unpublished ones.
- Remote work allowed (`remote_work_allowed`, true/false): Only list jobs that can be done remotely, or only ones that can't.
- Sort by updated (`updated_at_sort`, text): Sort by when jobs were last updated, newest first (desc) or oldest first (asc). One of: `asc`, `desc`.

**Outputs**

- `data` (object): A page of jobs. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Search people

Search and list people (candidates and contacts) by name, email, phone, title, company, skills, tags or location.

**Inputs**

- Search (`query`, text): Words to search for. Loxo also takes field searches such as `title:engineer`.
- Per page (`per_page`, number): How many results to return on each page. At least 1.
- Next page cursor (`scroll_id`, text): The cursor from the previous page's answer, to get the next page.
- Person type ID (`person_type_id`, number): Only list people of this type.
- List ID (`list_id`, number): Only list people on this person list.
- Sort by created (`created_at_sort`, text): Sort by when people were created, newest first (desc) or oldest first (asc). One of: `desc`, `asc`.
- Sort by updated (`updated_at_sort`, text): Sort by when people were last updated, newest first (desc) or oldest first (asc). One of: `desc`, `asc`.

**Outputs**

- `data` (object): A page of people and the cursor for the next page. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Update a company

Change a company's details. Fields left blank stay as they are.

**Inputs**

- Company (`company_id`, number, required): The company's ID.
- Name (`name`, text): The company's name.
- Website (`url`, text): The company's website URL.
- Description (`description`, text): A description of the company.
- Culture (`culture`, text): Notes on the company's culture.
- Owner email (`owner_email`, text): The email address of the user who owns the company.
- Company type ID (`company_type_id`, number): The ID of the company's type.
- Fee (`fee`, number): The fee agreed with the company.

**Outputs**

- `data` (object): The updated company. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Update a job

Change a job's details. Fields left blank stay as they are.

**Inputs**

- Job (`job_id`, number, required): The job's ID.
- Title (`title`, text): The job's title.
- Company name (`company_name`, text): The name of the company the job is for.
- Job type ID (`job_type_id`, number): The ID of the job's type, from List job types.
- Company ID (`company_id`, number): The ID of the company the job is for, when it is in Loxo.
- Job status ID (`job_status_id`, number): The ID of the job's status, from List job statuses.
- Description (`description`, text): The job description.
- Internal notes (`internal_notes`, text): Notes about the job for your team only.
- Salary (`salary`, text): The job's salary, as text.
- Address (`address`, text): The job's street address.
- City (`city`, text): The job's city.
- ZIP or postal code (`zip`, text): The job's ZIP or postal code.
- Remote work allowed (`remote_work_allowed`, true/false): Whether the job can be done remotely.
- Published (`published`, true/false): Whether the job is published to the career page.
- Public title (`published_name`, text): The title shown on the career page. Leave blank to use the title.
- Unpublish at (`published_end_date`, date and time): When to stop showing the job on the career page.
- Owner emails (`owner_emails`, list): The email addresses of the users who own the job.
- Active (`active`, true/false): Whether the job is active.

**Outputs**

- `data` (object): The updated job. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Update a job candidate

Change a candidate's summary or comments on a job.

**Inputs**

- Job (`job_id`, number, required): The job's ID.
- Candidate (`candidate_id`, number, required): The candidate's ID.
- Candidate summary (`csr_highlight`, text): The candidate summary on the candidate report. Send it empty to clear it.
- Comments (`highlights`, text): The comments on the candidate report.

**Outputs**

- `data` (object): The updated candidate. Loxo's reference doesn't describe the fields it returns.

**Example output**

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

### Update a person

Change a person's details. Fields left blank stay as they are.

**Inputs**

- Person (`person_id`, number, required): The person's ID.
- Name (`name`, text): The person's full name.
- Email (`email`, text): The person's email address.
- Phone (`phone`, text): The person's phone number.
- Job title (`title`, text): The title of the person's current job.
- Current company (`company`, text): The name of the company the person works at now.
- LinkedIn URL (`linkedin_url`, text): The URL of the person's LinkedIn profile.
- Website (`website`, text): The URL of the person's website.
- Location (`location`, text): Where the person is, as free text.
- Address (`address`, text): The person's street address.
- City (`city`, text): The person's city.
- State (`state`, text): The person's state or region.
- ZIP or postal code (`zip`, text): The person's ZIP or postal code.
- Country (`country`, text): The person's country.
- Notes (`description`, text): Intake or recruiter notes about the person.
- Tags (`tags`, list): The person's tags.
- Person type IDs (`person_type_ids`, list): The IDs of the person's types, such as candidate or contact.
- Source type ID (`source_type_id`, number): The ID of where the person came from.
- Owner ID (`owner_id`, number): The ID of the user who owns the person.
- Salary (`salary`, number): The person's current salary.
- Compensation (`compensation`, number): The person's expected compensation.
- Compensation notes (`compensation_notes`, text): Notes about the person's compensation.

**Outputs**

- `data` (object): The updated person. Loxo's reference doesn't describe the fields it returns.

**Example output**

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