Back to skills
SKILL.md
600 Reference C0156e53
ASecurityThis is the full reference documentation for the Pylon agent connector.
- 9 stars
- 0 votes
- 0 copies
- 0 views
- Added October 11, 2026
Works with
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 600-reference_c0156e53 --agent claude-codeAre you the author of 600 Reference C0156e53?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-600-reference-c0156e53)# Pylon full reference
This is the full reference documentation for the Pylon agent connector.
## Supported entities and actions
The Pylon connector supports the following entities and actions.
| Entity | Actions |
|--------|---------|
| Issues | [List](#issues-list), [Create](#issues-create), [Get](#issues-get), [Update](#issues-update) |
| Messages | [List](#messages-list) |
| Issue Notes | [Create](#issue-notes-create) |
| Issue Threads | [Create](#issue-threads-create) |
| Accounts | [List](#accounts-list), [Create](#accounts-create), [Get](#accounts-get), [Update](#accounts-update) |
| Contacts | [List](#contacts-list), [Create](#contacts-create), [Get](#contacts-get), [Update](#contacts-update) |
| Teams | [List](#teams-list), [Create](#teams-create), [Get](#teams-get), [Update](#teams-update) |
| Tags | [List](#tags-list), [Create](#tags-create), [Get](#tags-get), [Update](#tags-update) |
| Users | [List](#users-list), [Get](#users-get) |
| Custom Fields | [List](#custom-fields-list), [Get](#custom-fields-get) |
| Ticket Forms | [List](#ticket-forms-list) |
| User Roles | [List](#user-roles-list) |
| Tasks | [Create](#tasks-create), [Update](#tasks-update) |
| Projects | [Create](#projects-create), [Update](#projects-update) |
| Milestones | [Create](#milestones-create), [Update](#milestones-update) |
| Articles | [Create](#articles-create), [Update](#articles-update) |
| Collections | [Create](#collections-create) |
| Me | [Get](#me-get) |
## Issues
### Issues List
Get a list of issues within a time range
#### Python SDK
```python
await pylon.issues.list(
start_time="2025-01-01T00:00:00Z",
end_time="2025-01-01T00:00:00Z"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "issues",
"action": "list",
"params": {
"start_time": "2025-01-01T00:00:00Z",
"end_time": "2025-01-01T00:00:00Z"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `start_time` | `string` | Yes | The start time (RFC3339) of the time range to get issues for. |
| `end_time` | `string` | Yes | The end time (RFC3339) of the time range to get issues for. |
| `cursor` | `string` | No | Cursor for pagination |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `account` | `object \| any` | |
| `assignee` | `object \| any` | |
| `attachment_urls` | `array \| null` | |
| `author_unverified` | `boolean \| null` | |
| `body_html` | `string \| null` | |
| `business_hours_first_response_seconds` | `integer \| null` | |
| `business_hours_resolution_seconds` | `integer \| null` | |
| `chat_widget_info` | `object \| any` | |
| `created_at` | `string \| null` | |
| `csat_responses` | `array \| null` | |
| `csat_responses[].comment` | `string \| null` | |
| `csat_responses[].score` | `integer \| null` | |
| `custom_fields` | `object \| null` | |
| `customer_portal_visible` | `boolean \| null` | |
| `external_issues` | `array \| null` | |
| `external_issues[].external_id` | `string \| null` | |
| `external_issues[].link` | `string \| null` | |
| `external_issues[].source` | `string \| null` | |
| `first_response_seconds` | `integer \| null` | |
| `first_response_time` | `string \| null` | |
| `latest_message_time` | `string \| null` | |
| `link` | `string \| null` | |
| `number` | `integer \| null` | |
| `number_of_touches` | `integer \| null` | |
| `requester` | `object \| any` | |
| `resolution_seconds` | `integer \| null` | |
| `resolution_time` | `string \| null` | |
| `slack` | `object \| any` | |
| `snoozed_until_time` | `string \| null` | |
| `source` | `"slack" \| "microsoft_teams" \| "microsoft_teams_chat" \| "chat_widget" \| "email" \| "manual" \| "form" \| "discord" \| "whatsapp" \| "sms" \| "telegram" \| any` | |
| `state` | `string \| null` | |
| `tags` | `array \| null` | |
| `team` | `object \| any` | |
| `title` | `string \| null` | |
| `type` | `"Conversation" \| "Ticket" \| any` | |
#### Meta
| Field Name | Type | Description |
|------------|------|-------------|
| `next_cursor` | `string \| null` | |
| `has_next_page` | `boolean` | |
</details>
### Issues Create
Create a new issue
#### Python SDK
```python
await pylon.issues.create(
title="<str>",
body_html="<str>",
priority="<str>",
requester_email="<str>",
requester_name="<str>",
account_id="<str>",
assignee_id="<str>",
team_id="<str>",
tags=[]
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "issues",
"action": "create",
"params": {
"title": "<str>",
"body_html": "<str>",
"priority": "<str>",
"requester_email": "<str>",
"requester_name": "<str>",
"account_id": "<str>",
"assignee_id": "<str>",
"team_id": "<str>",
"tags": []
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `title` | `string` | Yes | The title of the issue |
| `body_html` | `string` | Yes | The HTML content of the body of the issue |
| `priority` | `string` | No | The priority of the issue (urgent, high, medium, low) |
| `requester_email` | `string` | No | The email of the requester |
| `requester_name` | `string` | No | The full name of the requester |
| `account_id` | `string` | No | The account that this issue belongs to |
| `assignee_id` | `string` | No | The user the issue should be assigned to |
| `team_id` | `string` | No | The ID of the team this issue should be assigned to |
| `tags` | `array<string>` | No | Tags to associate with the issue |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.account` | `object \| any` | |
| `data.assignee` | `object \| any` | |
| `data.attachment_urls` | `array \| null` | |
| `data.author_unverified` | `boolean \| null` | |
| `data.body_html` | `string \| null` | |
| `data.business_hours_first_response_seconds` | `integer \| null` | |
| `data.business_hours_resolution_seconds` | `integer \| null` | |
| `data.chat_widget_info` | `object \| any` | |
| `data.created_at` | `string \| null` | |
| `data.csat_responses` | `array \| null` | |
| `data.csat_responses[].comment` | `string \| null` | |
| `data.csat_responses[].score` | `integer \| null` | |
| `data.custom_fields` | `object \| null` | |
| `data.customer_portal_visible` | `boolean \| null` | |
| `data.external_issues` | `array \| null` | |
| `data.external_issues[].external_id` | `string \| null` | |
| `data.external_issues[].link` | `string \| null` | |
| `data.external_issues[].source` | `string \| null` | |
| `data.first_response_seconds` | `integer \| null` | |
| `data.first_response_time` | `string \| null` | |
| `data.latest_message_time` | `string \| null` | |
| `data.link` | `string \| null` | |
| `data.number` | `integer \| null` | |
| `data.number_of_touches` | `integer \| null` | |
| `data.requester` | `object \| any` | |
| `data.resolution_seconds` | `integer \| null` | |
| `data.resolution_time` | `string \| null` | |
| `data.slack` | `object \| any` | |
| `data.snoozed_until_time` | `string \| null` | |
| `data.source` | `"slack" \| "microsoft_teams" \| "microsoft_teams_chat" \| "chat_widget" \| "email" \| "manual" \| "form" \| "discord" \| "whatsapp" \| "sms" \| "telegram" \| any` | |
| `data.state` | `string \| null` | |
| `data.tags` | `array \| null` | |
| `data.team` | `object \| any` | |
| `data.title` | `string \| null` | |
| `data.type` | `"Conversation" \| "Ticket" \| any` | |
| `request_id` | `string` | |
</details>
### Issues Get
Get a single issue by ID
#### Python SDK
```python
await pylon.issues.get(
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "issues",
"action": "get",
"params": {
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `id` | `string` | Yes | The ID of the issue |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `account` | `object \| any` | |
| `assignee` | `object \| any` | |
| `attachment_urls` | `array \| null` | |
| `author_unverified` | `boolean \| null` | |
| `body_html` | `string \| null` | |
| `business_hours_first_response_seconds` | `integer \| null` | |
| `business_hours_resolution_seconds` | `integer \| null` | |
| `chat_widget_info` | `object \| any` | |
| `created_at` | `string \| null` | |
| `csat_responses` | `array \| null` | |
| `csat_responses[].comment` | `string \| null` | |
| `csat_responses[].score` | `integer \| null` | |
| `custom_fields` | `object \| null` | |
| `customer_portal_visible` | `boolean \| null` | |
| `external_issues` | `array \| null` | |
| `external_issues[].external_id` | `string \| null` | |
| `external_issues[].link` | `string \| null` | |
| `external_issues[].source` | `string \| null` | |
| `first_response_seconds` | `integer \| null` | |
| `first_response_time` | `string \| null` | |
| `latest_message_time` | `string \| null` | |
| `link` | `string \| null` | |
| `number` | `integer \| null` | |
| `number_of_touches` | `integer \| null` | |
| `requester` | `object \| any` | |
| `resolution_seconds` | `integer \| null` | |
| `resolution_time` | `string \| null` | |
| `slack` | `object \| any` | |
| `snoozed_until_time` | `string \| null` | |
| `source` | `"slack" \| "microsoft_teams" \| "microsoft_teams_chat" \| "chat_widget" \| "email" \| "manual" \| "form" \| "discord" \| "whatsapp" \| "sms" \| "telegram" \| any` | |
| `state` | `string \| null` | |
| `tags` | `array \| null` | |
| `team` | `object \| any` | |
| `title` | `string \| null` | |
| `type` | `"Conversation" \| "Ticket" \| any` | |
</details>
### Issues Update
Update an existing issue by ID
#### Python SDK
```python
await pylon.issues.update(
state="<str>",
assignee_id="<str>",
team_id="<str>",
account_id="<str>",
tags=[],
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "issues",
"action": "update",
"params": {
"state": "<str>",
"assignee_id": "<str>",
"team_id": "<str>",
"account_id": "<str>",
"tags": [],
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `state` | `string` | No | The state of the issue (open, snoozed, closed) |
| `assignee_id` | `string` | No | The user the issue should be assigned to |
| `team_id` | `string` | No | The ID of the team this issue should be assigned to |
| `account_id` | `string` | No | The account that this issue belongs to |
| `tags` | `array<string>` | No | Tags to associate with the issue |
| `id` | `string` | Yes | The ID of the issue to update |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.account` | `object \| any` | |
| `data.assignee` | `object \| any` | |
| `data.attachment_urls` | `array \| null` | |
| `data.author_unverified` | `boolean \| null` | |
| `data.body_html` | `string \| null` | |
| `data.business_hours_first_response_seconds` | `integer \| null` | |
| `data.business_hours_resolution_seconds` | `integer \| null` | |
| `data.chat_widget_info` | `object \| any` | |
| `data.created_at` | `string \| null` | |
| `data.csat_responses` | `array \| null` | |
| `data.csat_responses[].comment` | `string \| null` | |
| `data.csat_responses[].score` | `integer \| null` | |
| `data.custom_fields` | `object \| null` | |
| `data.customer_portal_visible` | `boolean \| null` | |
| `data.external_issues` | `array \| null` | |
| `data.external_issues[].external_id` | `string \| null` | |
| `data.external_issues[].link` | `string \| null` | |
| `data.external_issues[].source` | `string \| null` | |
| `data.first_response_seconds` | `integer \| null` | |
| `data.first_response_time` | `string \| null` | |
| `data.latest_message_time` | `string \| null` | |
| `data.link` | `string \| null` | |
| `data.number` | `integer \| null` | |
| `data.number_of_touches` | `integer \| null` | |
| `data.requester` | `object \| any` | |
| `data.resolution_seconds` | `integer \| null` | |
| `data.resolution_time` | `string \| null` | |
| `data.slack` | `object \| any` | |
| `data.snoozed_until_time` | `string \| null` | |
| `data.source` | `"slack" \| "microsoft_teams" \| "microsoft_teams_chat" \| "chat_widget" \| "email" \| "manual" \| "form" \| "discord" \| "whatsapp" \| "sms" \| "telegram" \| any` | |
| `data.state` | `string \| null` | |
| `data.tags` | `array \| null` | |
| `data.team` | `object \| any` | |
| `data.title` | `string \| null` | |
| `data.type` | `"Conversation" \| "Ticket" \| any` | |
| `request_id` | `string` | |
</details>
## Messages
### Messages List
Returns all messages on an issue (customer-facing replies and internal notes)
#### Python SDK
```python
await pylon.messages.list(
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "messages",
"action": "list",
"params": {
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `id` | `string` | Yes | The ID of the issue to fetch messages for |
| `cursor` | `string` | No | Cursor for pagination |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `author` | `object \| any` | |
| `email_info` | `object \| any` | |
| `file_urls` | `array \| null` | |
| `is_private` | `boolean \| null` | |
| `message_html` | `string \| null` | |
| `source` | `string \| null` | |
| `thread_id` | `string \| null` | |
| `timestamp` | `string \| null` | |
#### Meta
| Field Name | Type | Description |
|------------|------|-------------|
| `next_cursor` | `string \| null` | |
| `has_next_page` | `boolean` | |
</details>
## Issue Notes
### Issue Notes Create
Create an internal note on an issue
#### Python SDK
```python
await pylon.issue_notes.create(
body_html="<str>",
thread_id="<str>",
message_id="<str>",
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "issue_notes",
"action": "create",
"params": {
"body_html": "<str>",
"thread_id": "<str>",
"message_id": "<str>",
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `body_html` | `string` | Yes | The HTML content of the note |
| `thread_id` | `string` | No | The ID of the thread to add the note to |
| `message_id` | `string` | No | The ID of the message to add the note to |
| `id` | `string` | Yes | The ID of the issue to add a note to |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.body_html` | `string \| null` | |
| `data.timestamp` | `string \| null` | |
| `request_id` | `string` | |
</details>
## Issue Threads
### Issue Threads Create
Create a new thread on an issue
#### Python SDK
```python
await pylon.issue_threads.create(
name="<str>",
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "issue_threads",
"action": "create",
"params": {
"name": "<str>",
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `name` | `string` | No | The name of the thread |
| `id` | `string` | Yes | The ID of the issue to create a thread on |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.name` | `string \| null` | |
| `request_id` | `string` | |
</details>
## Accounts
### Accounts List
Get a list of accounts
#### Python SDK
```python
await pylon.accounts.list()
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "accounts",
"action": "list"
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `cursor` | `string` | No | Cursor for pagination |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `channels` | `array \| null` | |
| `channels[].channel_id` | `string \| null` | |
| `channels[].source` | `string \| null` | |
| `channels[].is_primary` | `boolean \| null` | |
| `created_at` | `string \| null` | |
| `custom_fields` | `object \| null` | |
| `domain` | `string \| null` | |
| `domains` | `array \| null` | |
| `external_ids` | `object \| null` | |
| `is_disabled` | `boolean \| null` | |
| `latest_customer_activity_time` | `string \| null` | |
| `name` | `string \| null` | |
| `owner` | `object \| any` | |
| `primary_domain` | `string \| null` | |
| `tags` | `array \| null` | |
| `type` | `string \| null` | |
#### Meta
| Field Name | Type | Description |
|------------|------|-------------|
| `next_cursor` | `string \| null` | |
| `has_next_page` | `boolean` | |
</details>
### Accounts Create
Create a new account
#### Python SDK
```python
await pylon.accounts.create(
name="<str>",
domains=[],
primary_domain="<str>",
owner_id="<str>",
logo_url="<str>",
tags=[]
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "accounts",
"action": "create",
"params": {
"name": "<str>",
"domains": [],
"primary_domain": "<str>",
"owner_id": "<str>",
"logo_url": "<str>",
"tags": []
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `name` | `string` | Yes | The name of the account |
| `domains` | `array<string>` | No | The domains of the account (e.g. stripe.com) |
| `primary_domain` | `string` | No | Must be in the list of domains. If there are any domains, there must be exactly one primary domain. |
| `owner_id` | `string` | No | The ID of the owner of the account |
| `logo_url` | `string` | No | The logo URL of the account. Must be a square .png, .jpg or .jpeg. |
| `tags` | `array<string>` | No | Tags to associate with the account |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.channels` | `array \| null` | |
| `data.channels[].channel_id` | `string \| null` | |
| `data.channels[].source` | `string \| null` | |
| `data.channels[].is_primary` | `boolean \| null` | |
| `data.created_at` | `string \| null` | |
| `data.custom_fields` | `object \| null` | |
| `data.domain` | `string \| null` | |
| `data.domains` | `array \| null` | |
| `data.external_ids` | `object \| null` | |
| `data.is_disabled` | `boolean \| null` | |
| `data.latest_customer_activity_time` | `string \| null` | |
| `data.name` | `string \| null` | |
| `data.owner` | `object \| any` | |
| `data.primary_domain` | `string \| null` | |
| `data.tags` | `array \| null` | |
| `data.type` | `string \| null` | |
| `request_id` | `string` | |
</details>
### Accounts Get
Get a single account by ID
#### Python SDK
```python
await pylon.accounts.get(
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "accounts",
"action": "get",
"params": {
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `id` | `string` | Yes | The ID of the account |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `channels` | `array \| null` | |
| `channels[].channel_id` | `string \| null` | |
| `channels[].source` | `string \| null` | |
| `channels[].is_primary` | `boolean \| null` | |
| `created_at` | `string \| null` | |
| `custom_fields` | `object \| null` | |
| `domain` | `string \| null` | |
| `domains` | `array \| null` | |
| `external_ids` | `object \| null` | |
| `is_disabled` | `boolean \| null` | |
| `latest_customer_activity_time` | `string \| null` | |
| `name` | `string \| null` | |
| `owner` | `object \| any` | |
| `primary_domain` | `string \| null` | |
| `tags` | `array \| null` | |
| `type` | `string \| null` | |
</details>
### Accounts Update
Update an existing account by ID
#### Python SDK
```python
await pylon.accounts.update(
name="<str>",
domains=[],
primary_domain="<str>",
owner_id="<str>",
logo_url="<str>",
is_disabled=True,
tags=[],
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "accounts",
"action": "update",
"params": {
"name": "<str>",
"domains": [],
"primary_domain": "<str>",
"owner_id": "<str>",
"logo_url": "<str>",
"is_disabled": True,
"tags": [],
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `name` | `string` | No | The name of the account |
| `domains` | `array<string>` | No | Domains of the account. Must specify one domain as primary. |
| `primary_domain` | `string` | No | Must be in the list of domains. If there are any domains, there must be exactly one primary domain. |
| `owner_id` | `string` | No | The ID of the owner of the account. If empty string is passed in, the owner will be removed. |
| `logo_url` | `string` | No | Logo URL of the account |
| `is_disabled` | `boolean` | No | Whether the account is disabled |
| `tags` | `array<string>` | No | Tags to associate with the account |
| `id` | `string` | Yes | The ID of the account to update |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.channels` | `array \| null` | |
| `data.channels[].channel_id` | `string \| null` | |
| `data.channels[].source` | `string \| null` | |
| `data.channels[].is_primary` | `boolean \| null` | |
| `data.created_at` | `string \| null` | |
| `data.custom_fields` | `object \| null` | |
| `data.domain` | `string \| null` | |
| `data.domains` | `array \| null` | |
| `data.external_ids` | `object \| null` | |
| `data.is_disabled` | `boolean \| null` | |
| `data.latest_customer_activity_time` | `string \| null` | |
| `data.name` | `string \| null` | |
| `data.owner` | `object \| any` | |
| `data.primary_domain` | `string \| null` | |
| `data.tags` | `array \| null` | |
| `data.type` | `string \| null` | |
| `request_id` | `string` | |
</details>
## Contacts
### Contacts List
Get a list of contacts
#### Python SDK
```python
await pylon.contacts.list()
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "list"
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `cursor` | `string` | No | Cursor for pagination |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `account` | `object \| any` | |
| `avatar_url` | `string \| null` | |
| `custom_fields` | `object \| null` | |
| `email` | `string \| null` | |
| `emails` | `array \| null` | |
| `integration_user_ids` | `array \| null` | |
| `integration_user_ids[].id` | `string \| null` | |
| `integration_user_ids[].source` | `string \| null` | |
| `name` | `string \| null` | |
| `phone_numbers` | `array \| null` | |
| `portal_role` | `string \| null` | |
| `portal_role_id` | `string \| null` | |
#### Meta
| Field Name | Type | Description |
|------------|------|-------------|
| `next_cursor` | `string \| null` | |
| `has_next_page` | `boolean` | |
</details>
### Contacts Create
Create a new contact
#### Python SDK
```python
await pylon.contacts.create(
name="<str>",
email="<str>",
account_id="<str>",
avatar_url="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "create",
"params": {
"name": "<str>",
"email": "<str>",
"account_id": "<str>",
"avatar_url": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `name` | `string` | Yes | The name of the contact |
| `email` | `string` | No | The email address of the contact |
| `account_id` | `string` | No | The ID of the account to associate this contact with |
| `avatar_url` | `string` | No | The URL of the contact's avatar |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.account` | `object \| any` | |
| `data.avatar_url` | `string \| null` | |
| `data.custom_fields` | `object \| null` | |
| `data.email` | `string \| null` | |
| `data.emails` | `array \| null` | |
| `data.integration_user_ids` | `array \| null` | |
| `data.integration_user_ids[].id` | `string \| null` | |
| `data.integration_user_ids[].source` | `string \| null` | |
| `data.name` | `string \| null` | |
| `data.phone_numbers` | `array \| null` | |
| `data.portal_role` | `string \| null` | |
| `data.portal_role_id` | `string \| null` | |
| `request_id` | `string` | |
</details>
### Contacts Get
Get a single contact by ID
#### Python SDK
```python
await pylon.contacts.get(
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "get",
"params": {
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `id` | `string` | Yes | The ID of the contact |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `account` | `object \| any` | |
| `avatar_url` | `string \| null` | |
| `custom_fields` | `object \| null` | |
| `email` | `string \| null` | |
| `emails` | `array \| null` | |
| `integration_user_ids` | `array \| null` | |
| `integration_user_ids[].id` | `string \| null` | |
| `integration_user_ids[].source` | `string \| null` | |
| `name` | `string \| null` | |
| `phone_numbers` | `array \| null` | |
| `portal_role` | `string \| null` | |
| `portal_role_id` | `string \| null` | |
</details>
### Contacts Update
Update an existing contact by ID
#### Python SDK
```python
await pylon.contacts.update(
name="<str>",
email="<str>",
account_id="<str>",
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "update",
"params": {
"name": "<str>",
"email": "<str>",
"account_id": "<str>",
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `name` | `string` | No | The name of the contact |
| `email` | `string` | No | The email address of the contact |
| `account_id` | `string` | No | The ID of the account to associate this contact with |
| `id` | `string` | Yes | The ID of the contact to update |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.account` | `object \| any` | |
| `data.avatar_url` | `string \| null` | |
| `data.custom_fields` | `object \| null` | |
| `data.email` | `string \| null` | |
| `data.emails` | `array \| null` | |
| `data.integration_user_ids` | `array \| null` | |
| `data.integration_user_ids[].id` | `string \| null` | |
| `data.integration_user_ids[].source` | `string \| null` | |
| `data.name` | `string \| null` | |
| `data.phone_numbers` | `array \| null` | |
| `data.portal_role` | `string \| null` | |
| `data.portal_role_id` | `string \| null` | |
| `request_id` | `string` | |
</details>
## Teams
### Teams List
Get a list of teams
#### Python SDK
```python
await pylon.teams.list()
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "teams",
"action": "list"
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `cursor` | `string` | No | Cursor for pagination |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `name` | `string \| null` | |
| `users` | `array \| null` | |
| `users[].email` | `string \| null` | |
| `users[].id` | `string \| null` | |
#### Meta
| Field Name | Type | Description |
|------------|------|-------------|
| `next_cursor` | `string \| null` | |
| `has_next_page` | `boolean` | |
</details>
### Teams Create
Create a new team
#### Python SDK
```python
await pylon.teams.create(
name="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "teams",
"action": "create",
"params": {
"name": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `name` | `string` | No | The name of the team |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.name` | `string \| null` | |
| `data.users` | `array \| null` | |
| `data.users[].email` | `string \| null` | |
| `data.users[].id` | `string \| null` | |
| `request_id` | `string` | |
</details>
### Teams Get
Get a single team by ID
#### Python SDK
```python
await pylon.teams.get(
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "teams",
"action": "get",
"params": {
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `id` | `string` | Yes | The ID of the team |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `name` | `string \| null` | |
| `users` | `array \| null` | |
| `users[].email` | `string \| null` | |
| `users[].id` | `string \| null` | |
</details>
### Teams Update
Update an existing team by ID
#### Python SDK
```python
await pylon.teams.update(
name="<str>",
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "teams",
"action": "update",
"params": {
"name": "<str>",
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `name` | `string` | No | The name of the team |
| `id` | `string` | Yes | The ID of the team to update |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.name` | `string \| null` | |
| `data.users` | `array \| null` | |
| `data.users[].email` | `string \| null` | |
| `data.users[].id` | `string \| null` | |
| `request_id` | `string` | |
</details>
## Tags
### Tags List
Get all tags
#### Python SDK
```python
await pylon.tags.list()
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tags",
"action": "list"
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `cursor` | `string` | No | Cursor for pagination |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `hex_color` | `string \| null` | |
| `object_type` | `string \| null` | |
| `value` | `string \| null` | |
#### Meta
| Field Name | Type | Description |
|------------|------|-------------|
| `next_cursor` | `string \| null` | |
| `has_next_page` | `boolean` | |
</details>
### Tags Create
Create a new tag
#### Python SDK
```python
await pylon.tags.create(
value="<str>",
object_type="<str>",
hex_color="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tags",
"action": "create",
"params": {
"value": "<str>",
"object_type": "<str>",
"hex_color": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `value` | `string` | Yes | The tag value |
| `object_type` | `string` | Yes | The object type (issue, account, contact) |
| `hex_color` | `string` | No | The hex color code of the tag |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.hex_color` | `string \| null` | |
| `data.object_type` | `string \| null` | |
| `data.value` | `string \| null` | |
| `request_id` | `string` | |
</details>
### Tags Get
Get a tag by its ID
#### Python SDK
```python
await pylon.tags.get(
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tags",
"action": "get",
"params": {
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `id` | `string` | Yes | The ID of the tag |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `hex_color` | `string \| null` | |
| `object_type` | `string \| null` | |
| `value` | `string \| null` | |
</details>
### Tags Update
Update an existing tag by ID
#### Python SDK
```python
await pylon.tags.update(
value="<str>",
hex_color="<str>",
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tags",
"action": "update",
"params": {
"value": "<str>",
"hex_color": "<str>",
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `value` | `string` | No | The tag value |
| `hex_color` | `string` | No | The hex color code of the tag |
| `id` | `string` | Yes | The ID of the tag to update |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.hex_color` | `string \| null` | |
| `data.object_type` | `string \| null` | |
| `data.value` | `string \| null` | |
| `request_id` | `string` | |
</details>
## Users
### Users List
Get a list of users
#### Python SDK
```python
await pylon.users.list()
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "users",
"action": "list"
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `cursor` | `string` | No | Cursor for pagination |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `avatar_url` | `string \| null` | |
| `email` | `string \| null` | |
| `emails` | `array \| null` | |
| `name` | `string \| null` | |
| `role_id` | `string \| null` | |
| `status` | `string \| null` | |
#### Meta
| Field Name | Type | Description |
|------------|------|-------------|
| `next_cursor` | `string \| null` | |
| `has_next_page` | `boolean` | |
</details>
### Users Get
Get a single user by ID
#### Python SDK
```python
await pylon.users.get(
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "users",
"action": "get",
"params": {
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `id` | `string` | Yes | The ID of the user |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `avatar_url` | `string \| null` | |
| `email` | `string \| null` | |
| `emails` | `array \| null` | |
| `name` | `string \| null` | |
| `role_id` | `string \| null` | |
| `status` | `string \| null` | |
</details>
## Custom Fields
### Custom Fields List
Get all custom fields for a given object type
#### Python SDK
```python
await pylon.custom_fields.list(
object_type="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "custom_fields",
"action": "list",
"params": {
"object_type": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `object_type` | `"account" \| "issue" \| "contact"` | Yes | The object type of the custom fields. Can be "account", "issue", or "contact". |
| `cursor` | `string` | No | Cursor for pagination |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `created_at` | `string \| null` | |
| `default_value` | `string \| null` | |
| `default_values` | `array \| null` | |
| `description` | `string \| null` | |
| `is_read_only` | `boolean \| null` | |
| `label` | `string \| null` | |
| `number_metadata` | `object \| any` | |
| `object_type` | `string \| null` | |
| `select_metadata` | `object \| any` | |
| `slug` | `string \| null` | |
| `source` | `string \| null` | |
| `type` | `string \| null` | |
| `updated_at` | `string \| null` | |
#### Meta
| Field Name | Type | Description |
|------------|------|-------------|
| `next_cursor` | `string \| null` | |
| `has_next_page` | `boolean` | |
</details>
### Custom Fields Get
Get a custom field by its ID
#### Python SDK
```python
await pylon.custom_fields.get(
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "custom_fields",
"action": "get",
"params": {
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `id` | `string` | Yes | The ID of the custom field |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `created_at` | `string \| null` | |
| `default_value` | `string \| null` | |
| `default_values` | `array \| null` | |
| `description` | `string \| null` | |
| `is_read_only` | `boolean \| null` | |
| `label` | `string \| null` | |
| `number_metadata` | `object \| any` | |
| `object_type` | `string \| null` | |
| `select_metadata` | `object \| any` | |
| `slug` | `string \| null` | |
| `source` | `string \| null` | |
| `type` | `string \| null` | |
| `updated_at` | `string \| null` | |
</details>
## Ticket Forms
### Ticket Forms List
Get a list of ticket forms
#### Python SDK
```python
await pylon.ticket_forms.list()
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "ticket_forms",
"action": "list"
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `cursor` | `string` | No | Cursor for pagination |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `description_html` | `string \| null` | |
| `fields` | `array \| null` | |
| `fields[].description_html` | `string \| null` | |
| `fields[].name` | `string \| null` | |
| `fields[].slug` | `string \| null` | |
| `fields[].type` | `string \| null` | |
| `is_public` | `boolean \| null` | |
| `name` | `string \| null` | |
| `slug` | `string \| null` | |
| `url` | `string \| null` | |
#### Meta
| Field Name | Type | Description |
|------------|------|-------------|
| `next_cursor` | `string \| null` | |
| `has_next_page` | `boolean` | |
</details>
## User Roles
### User Roles List
Get a list of all user roles
#### Python SDK
```python
await pylon.user_roles.list()
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "user_roles",
"action": "list"
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `cursor` | `string` | No | Cursor for pagination |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `name` | `string \| null` | |
| `slug` | `string \| null` | |
#### Meta
| Field Name | Type | Description |
|------------|------|-------------|
| `next_cursor` | `string \| null` | |
| `has_next_page` | `boolean` | |
</details>
## Tasks
### Tasks Create
Create a new task
#### Python SDK
```python
await pylon.tasks.create(
title="<str>",
body_html="<str>",
status="<str>",
assignee_id="<str>",
project_id="<str>",
milestone_id="<str>",
due_date="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tasks",
"action": "create",
"params": {
"title": "<str>",
"body_html": "<str>",
"status": "<str>",
"assignee_id": "<str>",
"project_id": "<str>",
"milestone_id": "<str>",
"due_date": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `title` | `string` | Yes | The title of the task |
| `body_html` | `string` | No | The body HTML of the task |
| `status` | `string` | No | The status of the task (not_started, in_progress, completed) |
| `assignee_id` | `string` | No | The assignee ID for the task |
| `project_id` | `string` | No | The project ID for the task |
| `milestone_id` | `string` | No | The milestone ID for the task |
| `due_date` | `string` | No | The due date for the task (RFC3339) |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.title` | `string \| null` | |
| `data.body_html` | `string \| null` | |
| `data.status` | `string \| null` | |
| `data.assignee_id` | `string \| null` | |
| `data.project_id` | `string \| null` | |
| `data.milestone_id` | `string \| null` | |
| `data.due_date` | `string \| null` | |
| `data.created_at` | `string \| null` | |
| `data.updated_at` | `string \| null` | |
| `request_id` | `string` | |
</details>
### Tasks Update
Update an existing task by ID
#### Python SDK
```python
await pylon.tasks.update(
title="<str>",
body_html="<str>",
status="<str>",
assignee_id="<str>",
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tasks",
"action": "update",
"params": {
"title": "<str>",
"body_html": "<str>",
"status": "<str>",
"assignee_id": "<str>",
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `title` | `string` | No | The title of the task |
| `body_html` | `string` | No | The body HTML of the task |
| `status` | `string` | No | The status of the task (not_started, in_progress, completed) |
| `assignee_id` | `string` | No | The assignee ID for the task |
| `id` | `string` | Yes | The ID of the task to update |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.title` | `string \| null` | |
| `data.body_html` | `string \| null` | |
| `data.status` | `string \| null` | |
| `data.assignee_id` | `string \| null` | |
| `data.project_id` | `string \| null` | |
| `data.milestone_id` | `string \| null` | |
| `data.due_date` | `string \| null` | |
| `data.created_at` | `string \| null` | |
| `data.updated_at` | `string \| null` | |
| `request_id` | `string` | |
</details>
## Projects
### Projects Create
Create a new project
#### Python SDK
```python
await pylon.projects.create(
name="<str>",
account_id="<str>",
description_html="<str>",
start_date="<str>",
end_date="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "projects",
"action": "create",
"params": {
"name": "<str>",
"account_id": "<str>",
"description_html": "<str>",
"start_date": "<str>",
"end_date": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `name` | `string` | Yes | The name of the project |
| `account_id` | `string` | Yes | The account ID for the project |
| `description_html` | `string` | No | The HTML description of the project |
| `start_date` | `string` | No | The start date of the project (RFC3339) |
| `end_date` | `string` | No | The end date of the project (RFC3339) |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.name` | `string \| null` | |
| `data.description_html` | `string \| null` | |
| `data.account_id` | `string \| null` | |
| `data.owner_id` | `string \| null` | |
| `data.start_date` | `string \| null` | |
| `data.end_date` | `string \| null` | |
| `data.is_archived` | `boolean \| null` | |
| `data.created_at` | `string \| null` | |
| `data.updated_at` | `string \| null` | |
| `request_id` | `string` | |
</details>
### Projects Update
Update an existing project by ID
#### Python SDK
```python
await pylon.projects.update(
name="<str>",
description_html="<str>",
is_archived=True,
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "projects",
"action": "update",
"params": {
"name": "<str>",
"description_html": "<str>",
"is_archived": True,
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `name` | `string` | No | The name of the project |
| `description_html` | `string` | No | The HTML description of the project |
| `is_archived` | `boolean` | No | Whether the project is archived |
| `id` | `string` | Yes | The ID of the project to update |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.name` | `string \| null` | |
| `data.description_html` | `string \| null` | |
| `data.account_id` | `string \| null` | |
| `data.owner_id` | `string \| null` | |
| `data.start_date` | `string \| null` | |
| `data.end_date` | `string \| null` | |
| `data.is_archived` | `boolean \| null` | |
| `data.created_at` | `string \| null` | |
| `data.updated_at` | `string \| null` | |
| `request_id` | `string` | |
</details>
## Milestones
### Milestones Create
Create a new milestone
#### Python SDK
```python
await pylon.milestones.create(
name="<str>",
project_id="<str>",
due_date="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "milestones",
"action": "create",
"params": {
"name": "<str>",
"project_id": "<str>",
"due_date": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `name` | `string` | Yes | The name of the milestone |
| `project_id` | `string` | Yes | The project ID for the milestone |
| `due_date` | `string` | No | The due date of the milestone (RFC3339) |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.name` | `string \| null` | |
| `data.project_id` | `string \| null` | |
| `data.due_date` | `string \| null` | |
| `data.created_at` | `string \| null` | |
| `data.updated_at` | `string \| null` | |
| `request_id` | `string` | |
</details>
### Milestones Update
Update an existing milestone by ID
#### Python SDK
```python
await pylon.milestones.update(
name="<str>",
due_date="<str>",
id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "milestones",
"action": "update",
"params": {
"name": "<str>",
"due_date": "<str>",
"id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `name` | `string` | No | The name of the milestone |
| `due_date` | `string` | No | The due date of the milestone (RFC3339) |
| `id` | `string` | Yes | The ID of the milestone to update |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.name` | `string \| null` | |
| `data.project_id` | `string \| null` | |
| `data.due_date` | `string \| null` | |
| `data.created_at` | `string \| null` | |
| `data.updated_at` | `string \| null` | |
| `request_id` | `string` | |
</details>
## Articles
### Articles Create
Create a new article in a knowledge base
#### Python SDK
```python
await pylon.articles.create(
title="<str>",
body_html="<str>",
author_user_id="<str>",
slug="<str>",
is_published=True,
kb_id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "articles",
"action": "create",
"params": {
"title": "<str>",
"body_html": "<str>",
"author_user_id": "<str>",
"slug": "<str>",
"is_published": True,
"kb_id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `title` | `string` | Yes | The title of the article |
| `body_html` | `string` | Yes | The HTML body of the article |
| `author_user_id` | `string` | Yes | The ID of the user attributed as the author |
| `slug` | `string` | No | The slug of the article |
| `is_published` | `boolean` | No | Whether the article should be published |
| `kb_id` | `string` | Yes | The ID of the knowledge base |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.title` | `string \| null` | |
| `data.body_html` | `string \| null` | |
| `data.slug` | `string \| null` | |
| `data.is_published` | `boolean \| null` | |
| `data.author_user_id` | `string \| null` | |
| `data.created_at` | `string \| null` | |
| `data.updated_at` | `string \| null` | |
| `request_id` | `string` | |
</details>
### Articles Update
Update an existing article in a knowledge base
#### Python SDK
```python
await pylon.articles.update(
title="<str>",
body_html="<str>",
kb_id="<str>",
article_id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "articles",
"action": "update",
"params": {
"title": "<str>",
"body_html": "<str>",
"kb_id": "<str>",
"article_id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `title` | `string` | No | The title of the article |
| `body_html` | `string` | No | The HTML body of the article |
| `kb_id` | `string` | Yes | The ID of the knowledge base |
| `article_id` | `string` | Yes | The ID of the article to update |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.title` | `string \| null` | |
| `data.body_html` | `string \| null` | |
| `data.slug` | `string \| null` | |
| `data.is_published` | `boolean \| null` | |
| `data.author_user_id` | `string \| null` | |
| `data.created_at` | `string \| null` | |
| `data.updated_at` | `string \| null` | |
| `request_id` | `string` | |
</details>
## Collections
### Collections Create
Create a new collection in a knowledge base
#### Python SDK
```python
await pylon.collections.create(
title="<str>",
description="<str>",
slug="<str>",
kb_id="<str>"
)
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "collections",
"action": "create",
"params": {
"title": "<str>",
"description": "<str>",
"slug": "<str>",
"kb_id": "<str>"
}
}'
```
#### Parameters
| Parameter Name | Type | Required | Description |
|----------------|------|----------|-------------|
| `title` | `string` | Yes | The title of the collection |
| `description` | `string` | No | The description of the collection |
| `slug` | `string` | No | The slug of the collection |
| `kb_id` | `string` | Yes | The ID of the knowledge base |
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `data` | `object` | |
| `data.id` | `string` | |
| `data.title` | `string \| null` | |
| `data.description` | `string \| null` | |
| `data.slug` | `string \| null` | |
| `data.created_at` | `string \| null` | |
| `request_id` | `string` | |
</details>
## Me
### Me Get
Get the currently authenticated user
#### Python SDK
```python
await pylon.me.get()
```
#### API
```bash
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "me",
"action": "get"
}'
```
<details>
<summary><b>Response Schema</b></summary>
#### Records
| Field Name | Type | Description |
|------------|------|-------------|
| `id` | `string` | |
| `avatar_url` | `string \| null` | |
| `email` | `string \| null` | |
| `emails` | `array \| null` | |
| `name` | `string \| null` | |
| `role_id` | `string \| null` | |
| `status` | `string \| null` | |
</details>
Attribution
Comments
Loading comments…