Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelistoverlay
POST/ciq/v1/employee-visibilities/Grant a user visibility into an employee · Create Employee Visibility#
Ask an LLM
“How do I let a manager see an employee in the hierarchy?”
“Can I set a start and end date on an employee visibility?”
Tell an agent
Grant user {user} visibility into employee {visible_employee} from {start_date} to {end_date}.
Create an employee visibility for {user} on {visible_employee}.
GET/ciq/v1/employee-visibilities/List who can see which employees · List Employee Visibilities#
Ask an LLM
“Which employees can a given user see in the hierarchy?”
“Can I filter employee visibility by hierarchy group or user?”
Tell an agent
List employee visibilities for user {user_id}.
Show who can see employee {visible_employee_id}.
DELETE/ciq/v1/employee-visibilities/{id}/Revoke an employee visibility · Delete Employee Visibility#
Ask an LLM
“How do I stop a manager from seeing an employee?”
“Can I delete an employee visibility record?”
Tell an agentdestructive · confirm first
Delete employee visibility {id}.
Revoke user's visibility into employee {id}.
GET/ciq/v1/employee-visibilities/{id}/Get one employee visibility · Get Employee Visibility#
Ask an LLM
“What start and end dates does a specific employee visibility have?”
“Which managing employee does an employee visibility record point to?”
Tell an agent
Get employee visibility {id}.
Show the managing employee for visibility {id}.
PUT/ciq/v1/employee-visibilities/{id}/Change an employee visibility · Update Employee Visibility#
Ask an LLM
“Can I extend the end date of an employee visibility?”
“How do I change who a user can see in the hierarchy?”
Tell an agent
Set employee visibility {id} to end on {end_date}.
Change visibility {id} so user {user} sees employee {visible_employee}.
POST/ciq/v1/employees/Add an employee · Create Employee#
Ask an LLM
“How do I add a new employee and link them to an existing user?”
“Can I set a final process date when creating an employee?”
Tell an agent
Create employee {employee_id} with email {email}.
Add employee {employee_id} linked to user {linked_user}.
GET/ciq/v1/employees/List employees · List Employees#
Ask an LLM
“How do I find an employee by first or last name?”
“Can I list only active employees?”
Tell an agent
List employees named {first_name} {last_name}.
Find employee {employee_id}.
DELETE/ciq/v1/employees/{id}/Delete an employee record · Delete Employee#
Ask an LLM
“How do I remove an employee from my company's record?”
“Can I delete an employee's profile from the platform?”
Tell an agentdestructive · confirm first
Delete employee {id}.
Remove the employee record {id} from the company database.
GET/ciq/v1/employees/{id}/Get an employee · Get Employee#
Ask an LLM
“What are the details of a specific employee?”
“Can I look up an employee by their employee ID?”
Tell an agent
Get employee {id}.
Show the first and last name of employee {id}.
PUT/ciq/v1/employees/{id}/Update an employee · Update Employee#
Ask an LLM
“How do I deactivate an employee?”
“Can I change an employee's final process date?”
Tell an agent
Set employee {id} inactive: {is_active}.
Change employee {id} to final process on {final_process_date}.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: CaptivateIQ Employees API
version: v1
description: The CaptivateIQ REST API (ciq/v1) for managing employees, hierarchies, data worksheets, commission plans, payouts, reports, and related sales-compensation resources. Harvested from the public developer reference (developers.captivateiq.com).
x-apievangelist-provenance:
generated: '2026-07-18'
method: searched
source: https://developers.captivateiq.com/reference (per-operation OpenAPI defs merged)
servers:
- url: https://api.captivateiq.com
description: Production
security:
- tokenAuth: []
tags:
- name: Employees
paths:
/ciq/v1/employee-visibilities/:
post:
operationId: employee_visibilities_create
summary: Create Employee Visibility
tags:
- Employees
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EmployeeVisibilityCreateUpdate'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/EmployeeVisibilityCreateUpdate'
multipart/form-data:
schema:
$ref: '#/components/schemas/EmployeeVisibilityCreateUpdate'
required: true
security:
- tokenAuth: []
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/EmployeeVisibility'
description: ''
get:
operationId: employee_visibilities_list
description: Hierarchy visibilities include an extra field, `managing_employee` which contains the UUID of the managing employee.
summary: List Employee Visibilities
parameters:
- in: query
name: hierarchy_group_name
schema:
type: string
description: Filter visibilities by a hierarchy group name.
- in: query
name: hierarchy_id
schema:
type: string
format: uuid
description: Filter visibilities by hierarchy id.
- name: limit
required: false
in: query
description: Number of results to return per page.
schema:
type: integer
- name: offset
required: false
in: query
description: The initial index from which to return the results.
schema:
type: integer
- in: query
name: ordering
schema:
type: string
description: Use `start_date` or `end_date` to order by start or end date, and `-start_date` or `-end_date` to reverse them respectively. Defaults to `start_date`.
- in: query
name: user_id
schema:
type: string
format: uuid
description: Filter visibilities by user_id.
- in: query
name: visible_employee_id
schema:
type: string
format: uuid
description: Filter visibilities by an employee_id.
tags:
- Employees
security:
- tokenAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEmployeeVisibilityList'
description: ''
/ciq/v1/employee-visibilities/{id}/:
delete:
operationId: employee_visibilities_destroy
summary: Delete Employee Visibility
parameters:
- in: path
name: id
schema:
type: string
format: uuid
description: Primary key, a UUID.
required: true
tags:
- Employees
security:
- tokenAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/OpenAPIDelete'
description: ''
get:
operationId: employee_visibilities_retrieve
description: 'Retrieves Employee Visibilities with the `object: "employee visibility"` field. To retrieve Hierarchies, see the Hierarchies documentation.'
summary: Get Employee Visibility
parameters:
- in: path
name: id
schema:
type: string
format: uuid
description: Primary key, a UUID.
required: true
tags:
- Employees
security:
- tokenAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/EmployeeVisibility'
description: ''
put:
operationId: employee_visibilities_update
summary: Update Employee Visibility
parameters:
- in: path
name: id
schema:
type: string
format: uuid
description: Primary key, a UUID.
required: true
tags:
- Employees
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EmployeeVisibilityCreateUpdate'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/EmployeeVisibilityCreateUpdate'
multipart/form-data:
schema:
$ref: '#/components/schemas/EmployeeVisibilityCreateUpdate'
required: true
security:
- tokenAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/EmployeeVisibility'
description: ''
/ciq/v1/employees/:
post:
operationId: employees_create
summary: Create Employee
tags:
- Employees
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EmployeeCreate'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/EmployeeCreate'
multipart/form-data:
schema:
$ref: '#/components/schemas/EmployeeCreate'
required: true
security:
- tokenAuth: []
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/Employee'
description: ''
get:
operationId: employees_list
summary: List Employees
parameters:
- in: query
name: employee_id
schema:
type: string
description: Filter by employee id
- in: query
name: first_name
schema:
type: string
description: Filter by first name
- in: query
name: last_name
schema:
type: string
description: Filter by last name
- name: limit
required: false
in: query
description: Number of results to return per page.
schema:
type: integer
- name: offset
required: false
in: query
description: The initial index from which to return the results.
schema:
type: integer
- name: ordering
required: false
in: query
description: 'Optional. Which field to use when ordering the results. By default we assume [`employee_id`]. Available fields for ordering: [`(-)employee_id`, `(-)first_name`, `(-)last_name`]. See the [FAQs](https://developers.captivateiq.com/docs/faqs) page for tips.'
schema:
type: string
tags:
- Employees
security:
- tokenAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEmployeeList'
description: ''
/ciq/v1/employees/{id}/:
delete:
operationId: employees_destroy
summary: Delete Employee
parameters:
- in: path
name: id
schema:
type: string
format: uuid
description: Primary key, a UUID.
required: true
tags:
- Employees
security:
- tokenAuth: []
responses:
'204':
description: No response body
get:
operationId: employees_retrieve
summary: Get Employee
parameters:
- in: path
name: id
schema:
type: string
format: uuid
description: Primary key, a UUID.
required: true
tags:
- Employees
security:
- tokenAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Employee'
description: ''
put:
operationId: employees_update
summary: Update Employee
parameters:
- in: path
name: id
schema:
type: string
format: uuid
description: Primary key, a UUID.
required: true
tags:
- Employees
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EmployeeUpdate'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/EmployeeUpdate'
multipart/form-data:
schema:
$ref: '#/components/schemas/EmployeeUpdate'
required: true
security:
- tokenAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Employee'
description: ''
components:
schemas:
LocaleEnum:
enum:
- cs_CZ
- de_DE
- en_AU
- en_CA
- en_GB
- en_SG
- en_US
- es_ES
- es_US
- fr_CA
- fr_FR
- hu_HU
- it_IT
- ja_JP
- ms_MY
- pl_PL
- pt_PT
- ru_RU
- sk_SK
- zh_CN
- zh_SG
type: string
OpenAPIDelete:
type: object
properties:
object:
type: string
readOnly: true
description: Type of the object.
id:
type: string
format: uuid
readOnly: true
description: UUID of the object deleted.
deleted:
type: boolean
readOnly: true
description: Has the object been deleted.
EmployeeVisibility:
type: object
properties:
object:
type: string
readOnly: true
default: employee visibility
description: Optional. Object type name.
id:
type: string
readOnly: true
description: Primary key, a UUID.
user:
type: string
format: uuid
description: Required. The uuid of the user.
visible_employee:
type: string
format: uuid
description: Required. The uuid of the visible employee.
start_date:
type:
- string
- 'null'
format: date
description: Required. The visibility start date.
end_date:
type:
- string
- 'null'
format: date
description: Required. The visibility end date.
source:
type: object
additionalProperties: {}
description: Nested object containing the id and name of the hierarchy group if the visibility originated from a hierarchy. Otherwise values default to null and 'Manual'.
created_at:
type: string
format: date-time
readOnly: true
description: Date and time of creation.
updated_at:
type: string
format: date-time
readOnly: true
description: Date and time of last update.
required:
- user
- visible_employee
NullEnum:
enum:
- null
PaginatedEmployeeList:
type: object
properties:
object:
type: string
example: list
total_count:
type: integer
example: 123
next:
type:
- string
- 'null'
format: uri
example: http://api.example.org/accounts/?offset=400&limit=100
previous:
type:
- string
- 'null'
format: uri
example: http://api.example.org/accounts/?offset=200&limit=100
data:
type: array
items:
$ref: '#/components/schemas/Employee'
EmployeeUpdate:
type: object
properties:
id:
type: string
readOnly: true
description: Primary key, a UUID.
employee_id:
type: string
description: Required, must be unique. Your unique identifier for the employee within your organization.
email:
type:
- string
- 'null'
format: email
description: Required, can be `null`. The employee's email address.
login_id:
type:
- string
- 'null'
description: Optional. Only used when an organization uses freeform login_id type as the user's unique identifier (all organizations use email as a unique identifier by default) and the employee has a linked_user value. If linked_user has a value, then login_id will be used to update the login_id of the linked_user.
first_name:
type:
- string
- 'null'
description: Required, can be `null`. The employee's first name.
last_name:
type:
- string
- 'null'
description: Required, can be `null`. The employee's last name.
final_process_date:
type:
- string
- 'null'
format: date
description: Required, can be `null`. YYYY-MM-DD format. Payouts will no longer be processed for this employee after this date.
employee_license_automated_deactivation_date:
type:
- string
- 'null'
format: date
description: Optional, can be `null`. YYYY-MM-DD format. The employee will be automatically deactivated on this date.
is_active:
type: boolean
description: Required. Active employees count towards your seat count.
linked_user:
type: string
format: uuid
readOnly: true
description: Employee's linked User, which they may use to access the system.
required:
- email
- employee_id
- final_process_date
- first_name
- is_active
- last_name
EmployeeCreate:
type: object
properties:
employee_id:
type: string
description: Required, must be unique. Your unique identifier for the employee within your organization.
email:
type:
- string
- 'null'
format: email
description: Required if `linked_user` not provided, otherwise optional. The employee's email address.
first_name:
type:
- string
- 'null'
description: Required if `linked_user` not provided, otherwise optional. The employee's first name.
last_name:
type:
- string
- 'null'
description: Required if `linked_user` not provided, otherwise optional. The employee's last name.
final_process_date:
type:
- string
- 'null'
format: date
description: Optional. YYYY-MM-DD format. Payouts will no longer be processed for this employee after this date.
is_active:
type: boolean
default: true
description: Optional, defaults to `true`. Active employees count towards your seat count.
linked_user:
type:
- string
- 'null'
format: uuid
description: Optional. Pass in a UUID to link to an existing User, otherwise a new User will be automatically created for this employee.
user_settings:
allOf:
- $ref: '#/components/schemas/EmployeeOptionalUserSettings'
description: Optional. Values to be passed through if creating a new user
timezone:
type:
- string
- 'null'
default: America/Los_Angeles
description: Optional, default to your "Organization User Settings" value. If an "Organization User Settings" value is not set will fallback to `America/Los_Angeles`. Used only if creating a new linked user. User timezone name. Accepts [tz database names](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. `America/Los_Angeles`.
locale:
description: Optional, default to your "Organization User Settings" value. If an "Organization User Settings" value is not set will fallback to `None`. The employee's locale. Accepts [locale names](https://support.captivateiq.com/hc/en-us/articles/4418762747796-User-locale-settings-beta-), e.g. `en_US`.
oneOf:
- $ref: '#/components/schemas/LocaleEnum'
- $ref: '#/components/schemas/BlankEnum'
- $ref: '#/components/schemas/NullEnum'
login_id:
type:
- string
- 'null'
description: Optional. This field is only used if an organization uses freeform login_id type as the user's unique identifier (all organizations use email as a unique identifier by default) and if linked_user does not have a value. If this is the case then login_id value will be used in creating the linked_user. If login_id is blank, the linked user will be created as a placeholder user.
required:
- employee_id
Employee:
type: object
properties:
object:
type: string
readOnly: true
default: employee
description: Optional. Object type name.
id:
type: string
readOnly: true
description: Primary key, a UUID.
employee_id:
type: string
description: Required, must be unique. Your unique identifier for the employee within your organization.
email:
type:
- string
- 'null'
format: email
description: Required if `linked_user` not provided, otherwise optional. The employee's email address.
first_name:
type:
- string
- 'null'
description: Required if `linked_user` not provided, otherwise optional. The employee's first name.
last_name:
type:
- string
- 'null'
description: Required if `linked_user` not provided, otherwise optional. The employee's last name.
final_process_date:
type:
- string
- 'null'
format: date
description: Optional. YYYY-MM-DD format. Payouts will no longer be processed for this employee after this date.
is_active:
type: boolean
description: Active employees count towards your seat count.
linked_user:
type: string
format: uuid
readOnly: true
description: Employee's linked User, which they may use to access the system.
created_at:
type: string
format: date-time
readOnly: true
description: Date and time of creation.
updated_at:
type: string
format: date-time
readOnly: true
description: Date and time of last update.
required:
- employee_id
- is_active
PaginatedEmployeeVisibilityList:
type: object
properties:
object:
type: string
example: list
total_count:
type: integer
example: 123
next:
type:
- string
- 'null'
format: uri
example: http://api.example.org/accounts/?offset=400&limit=100
previous:
type:
- string
- 'null'
format: uri
example: http://api.example.org/accounts/?offset=200&limit=100
data:
type: array
items:
$ref: '#/components/schemas/EmployeeVisibility'
BlankEnum:
enum:
- ''
EmployeeOptionalUserSettings:
type: object
properties:
enable_inquiry_notifications:
type: boolean
default: false
description: Optional, default to your "Organization User Settings" value. If an "Organization User Settings" value is not set will fallback to `false`.
enable_statement_notifications:
type: boolean
default: true
description: Optional, default to your "Organization User Settings" value. If an "Organization User Settings" value is not set will fallback to `true`.
eligible_to_receive_inquiries:
type: boolean
default: true
description: Optional, default to your "Organization User Settings" value. If an "Organization User Settings" value is not set will fallback to `true`.
eligible_to_submit_inquiries:
type: boolean
default: true
description: Optional, default to your "Organization User Settings" value. If an "Organization User Settings" value is not set will fallback to `true`. Enable user to submit inquiries.
enable_payout_processing_notifications:
type: boolean
default: false
description: Optional, default to your "Organization User Settings" value. If an "Organization User Settings" value is not set will fallback to `false`.
enable_connector_sync_email_notifications:
type: boolean
default: true
description: Optional, default to your "Organization User Settings" value. If an "Organization User Settings" value is not set will fallback to `true`.
enable_scim_email_notifications:
type: boolean
default: false
description: Optional, default to your "Organization User Settings" value. If an "Organization User Settings" value is not set will fallback to `false`.
enable_audit_log_export_notifications:
type: boolean
default: false
description: Optional, default to your "Organization User Settings" value. If an "Organization User Settings" value is not set will fallback to `false`.
is_organization_admin:
type: boolean
default: false
description: Optional, defaults to `false`.
send_initial_email:
type: boolean
default: false
description: Optional, default to your "Organization User Settings" value. If an "Organization User Settings" value is not set will fallback to `false`. Send the user a welcome email.
login_access:
type: boolean
default: false
description: Optional, defaults to `false`.
role:
type: string
description: Name of the role to apply to the user.
maxLength: 255
EmployeeVisibilityCreateUpdate:
type: object
properties:
object:
type: string
readOnly: true
default: employee visibility
description: Optional. Object type name.
id:
type: string
readOnly: true
description: Primary key, a UUID.
user:
type: string
format: uuid
description: Required. The uuid of the user.
visible_employee:
type: string
format: uuid
description: Required. The uuid of the visible employee.
start_date:
type:
- string
- 'null'
format: date
description: Required. The visibility start date.
end_date:
type:
- string
- 'null'
format: date
description: Required. The visibility end date.
created_at:
type: string
format: date-time
readOnly: true
description: Date and time of creation.
updated_at:
type: string
format: date-time
readOnly: true
description: Date and time of last update.
required:
- user
- visible_employee
securitySchemes:
tokenAuth:
type: apiKey
in: header
name: Authorization
description: Token-based authentication with required prefix "Token"