unified / unified-to
Installs: 1 196
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: ^8.2
- brick/date-time: ^0.7.0
- brick/math: ^0.12.1
- galbar/jsonpath: ^3.0
- guzzlehttp/guzzle: ^7.0
- phpdocumentor/type-resolver: ^1.8
- speakeasy/serializer: ^4.0.0
Requires (Dev)
- laravel/pint: ^1.18.1
- phpstan/phpstan: ^2.1.0
- phpunit/phpunit: ^10
- roave/security-advisories: dev-latest
- dev-main
- v1.1.24
- v1.1.23
- v1.1.22
- v1.1.21
- v1.1.20
- v1.1.19
- v1.1.18
- v1.1.17
- v1.1.16
- v1.1.15
- v1.1.14
- v1.1.13
- v1.1.12
- v1.1.11
- v1.1.10
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.2
- v1.0.1
- v1.0.0
- v0.17.5
- v0.17.4
- v0.17.3
- v0.17.2
- v0.17.1
- v0.17.0
- v0.16.7
- v0.16.6
- v0.16.5
- v0.16.4
- v0.16.3
- v0.16.2
- v0.16.1
- v0.16.0
- v0.15.42
- v0.15.41
- v0.15.40
- v0.15.39
- v0.15.38
- v0.15.37
- v0.15.36
- v0.15.35
- v0.15.34
- v0.15.33
- v0.15.32
- v0.15.31
- v0.15.30
- v0.15.29
- v0.15.28
- v0.15.27
- v0.15.26
- v0.15.25
- v0.15.24
- v0.15.23
- v0.15.22
- v0.15.21
- v0.15.20
- v0.15.19
- v0.15.18
- v0.15.17
- v0.15.16
- v0.15.15
- v0.15.14
- v0.15.13
- v0.15.12
- v0.15.11
- v0.15.10
- v0.15.9
- v0.15.8
- v0.15.7
- v0.15.6
- v0.15.5
- v0.15.4
- v0.15.3
- v0.15.2
- v0.15.1
- v0.15.0
- v0.14.17
- v0.14.16
- v0.14.15
- v0.14.14
- v0.14.13
- v0.14.12
- v0.14.11
- v0.14.10
- v0.14.9
- v0.14.8
- v0.14.7
- v0.14.6
- v0.14.5
- v0.14.4
- v0.14.3
- v0.14.2
- v0.14.1
- v0.14.0
- v0.13.1
- v0.13.0
- v0.12.11
- v0.12.10
- v0.12.9
- v0.12.8
- v0.12.7
- v0.12.6
- v0.12.5
- v0.12.4
- v0.12.3
- v0.12.2
- v0.12.1
- v0.12.0
- v0.11.0
- v0.10.35
- v0.10.34
- v0.10.33
- v0.10.32
- v0.10.31
- v0.10.30
- v0.10.29
- v0.10.28
- v0.10.27
- v0.10.26
- v0.10.25
- v0.10.24
- v0.10.23
- v0.10.22
- v0.10.21
- v0.10.20
- v0.10.19
- v0.10.18
- v0.10.17
- v0.10.16
- v0.10.15
- v0.10.14
- v0.10.13
- v0.10.12
- v0.10.11
- v0.10.10
- v0.10.9
- v0.10.8
- v0.10.7
- v0.10.6
- v0.10.5
- v0.10.4
- v0.10.3
- v0.10.2
- v0.10.1
- v0.10.0
- v0.9.3
- v0.9.2
- v0.9.1
- v0.9.0
- v0.8.10
- v0.8.9
- v0.8.8
- v0.8.7
- v0.8.6
- v0.8.5
- v0.8.4
- v0.8.3
- dev-speakeasy-sdk-regen-1728865500
- dev-speakeasy-sdk-regen-1728779153
- dev-speakeasy-sdk-regen-1728767254
- dev-speakeasy-sdk-regen-1728737351
- dev-speakeasy-sdk-regen-1728696307
- dev-speakeasy-sdk-regen-1699984190
This package is auto-updated.
Last update: 2025-01-15 00:28:20 UTC
README
SDK Installation
The SDK relies on Composer to manage its dependencies.
To install the SDK and add it as a dependency to an existing composer.json
file:
composer require "unified/unified-to"
SDK Example Usage
Example
declare(strict_types=1); require 'vendor/autoload.php'; use Unified\Unified_to; use Unified\Unified_to\Models\Operations; $sdk = Unified_to\UnifiedTo::builder() ->setSecurity( '<YOUR_API_KEY_HERE>' ) ->build(); $request = new Operations\CreateAccountingAccountRequest( connectionId: '<id>', ); $response = $sdk->accounting->createAccountingAccount( request: $request ); if ($response->accountingAccount !== null) { // handle response }
Authentication
Per-Client Security Schemes
This SDK supports the following security scheme globally:
To authenticate with the API the jwt
parameter must be set when initializing the SDK. For example:
declare(strict_types=1); require 'vendor/autoload.php'; use Unified\Unified_to; use Unified\Unified_to\Models\Operations; $sdk = Unified_to\UnifiedTo::builder() ->setSecurity( '<YOUR_API_KEY_HERE>' ) ->build(); $request = new Operations\CreateAccountingAccountRequest( connectionId: '<id>', ); $response = $sdk->accounting->createAccountingAccount( request: $request ); if ($response->accountingAccount !== null) { // handle response }
Available Resources and Operations
Available methods
account
- createAccountingAccount - Create an account
- getAccountingAccount - Retrieve an account
- listAccountingAccounts - List all accounts
- patchAccountingAccount - Update an account
- removeAccountingAccount - Remove an account
- updateAccountingAccount - Update an account
accounting
- createAccountingAccount - Create an account
- createAccountingContact - Create a contact
- createAccountingInvoice - Create an invoice
- createAccountingJournal - Create a journal
- createAccountingOrder - Create an order
- createAccountingTaxrate - Create a taxrate
- createAccountingTransaction - Create a transaction
- getAccountingAccount - Retrieve an account
- getAccountingContact - Retrieve a contact
- getAccountingInvoice - Retrieve an invoice
- getAccountingJournal - Retrieve a journal
- getAccountingOrder - Retrieve an order
- getAccountingOrganization - Retrieve an organization
- getAccountingTaxrate - Retrieve a taxrate
- getAccountingTransaction - Retrieve a transaction
- listAccountingAccounts - List all accounts
- listAccountingContacts - List all contacts
- listAccountingInvoices - List all invoices
- listAccountingJournals - List all journals
- listAccountingOrders - List all orders
- listAccountingOrganizations - List all organizations
- listAccountingTaxrates - List all taxrates
- listAccountingTransactions - List all transactions
- patchAccountingAccount - Update an account
- patchAccountingContact - Update a contact
- patchAccountingInvoice - Update an invoice
- patchAccountingJournal - Update a journal
- patchAccountingOrder - Update an order
- patchAccountingTaxrate - Update a taxrate
- patchAccountingTransaction - Update a transaction
- removeAccountingAccount - Remove an account
- removeAccountingContact - Remove a contact
- removeAccountingInvoice - Remove an invoice
- removeAccountingJournal - Remove a journal
- removeAccountingOrder - Remove an order
- removeAccountingTaxrate - Remove a taxrate
- removeAccountingTransaction - Remove a transaction
- updateAccountingAccount - Update an account
- updateAccountingContact - Update a contact
- updateAccountingInvoice - Update an invoice
- updateAccountingJournal - Update a journal
- updateAccountingOrder - Update an order
- updateAccountingTaxrate - Update a taxrate
- updateAccountingTransaction - Update a transaction
activity
- createAtsActivity - Create an activity
- getAtsActivity - Retrieve an activity
- listAtsActivities - List all activities
- patchAtsActivity - Update an activity
- removeAtsActivity - Remove an activity
- updateAtsActivity - Update an activity
apicall
- getUnifiedApicall - Retrieve specific API Call by its ID
- listUnifiedApicalls - Returns API Calls
application
- createAtsApplication - Create an application
- getAtsApplication - Retrieve an application
- listAtsApplications - List all applications
- patchAtsApplication - Update an application
- removeAtsApplication - Remove an application
- updateAtsApplication - Update an application
applicationstatus
- listAtsApplicationstatuses - List all applicationstatuses
ats
- createAtsActivity - Create an activity
- createAtsApplication - Create an application
- createAtsCandidate - Create a candidate
- createAtsDocument - Create a document
- createAtsInterview - Create an interview
- createAtsJob - Create a job
- createAtsScorecard - Create a scorecard
- getAtsActivity - Retrieve an activity
- getAtsApplication - Retrieve an application
- getAtsCandidate - Retrieve a candidate
- getAtsCompany - Retrieve a company
- getAtsDocument - Retrieve a document
- getAtsInterview - Retrieve an interview
- getAtsJob - Retrieve a job
- getAtsScorecard - Retrieve a scorecard
- listAtsActivities - List all activities
- listAtsApplications - List all applications
- listAtsApplicationstatuses - List all applicationstatuses
- listAtsCandidates - List all candidates
- listAtsCompanies - List all companies
- listAtsDocuments - List all documents
- listAtsInterviews - List all interviews
- listAtsJobs - List all jobs
- listAtsScorecards - List all scorecards
- patchAtsActivity - Update an activity
- patchAtsApplication - Update an application
- patchAtsCandidate - Update a candidate
- patchAtsDocument - Update a document
- patchAtsInterview - Update an interview
- patchAtsJob - Update a job
- patchAtsScorecard - Update a scorecard
- removeAtsActivity - Remove an activity
- removeAtsApplication - Remove an application
- removeAtsCandidate - Remove a candidate
- removeAtsDocument - Remove a document
- removeAtsInterview - Remove an interview
- removeAtsJob - Remove a job
- removeAtsScorecard - Remove a scorecard
- updateAtsActivity - Update an activity
- updateAtsApplication - Update an application
- updateAtsCandidate - Update a candidate
- updateAtsDocument - Update a document
- updateAtsInterview - Update an interview
- updateAtsJob - Update a job
- updateAtsScorecard - Update a scorecard
auth
- getUnifiedIntegrationAuth - Create connection indirectly
- getUnifiedIntegrationLogin - Sign in a user
branch
- createRepoBranch - Create a branch
- getRepoBranch - Retrieve a branch
- listRepoBranches - List all branches
- patchRepoBranch - Update a branch
- removeRepoBranch - Remove a branch
- updateRepoBranch - Update a branch
call
- listUcCalls - List all calls
candidate
- createAtsCandidate - Create a candidate
- getAtsCandidate - Retrieve a candidate
- listAtsCandidates - List all candidates
- patchAtsCandidate - Update a candidate
- removeAtsCandidate - Remove a candidate
- updateAtsCandidate - Update a candidate
channel
- getMessagingChannel - Retrieve a channel
- listMessagingChannels - List all channels
class
- createLmsClass - Create a class
- getLmsClass - Retrieve a class
- listLmsClasses - List all classes
- patchLmsClass - Update a class
- removeLmsClass - Remove a class
- updateLmsClass - Update a class
collection
- createCommerceCollection - Create a collection
- getCommerceCollection - Retrieve a collection
- listCommerceCollections - List all collections
- patchCommerceCollection - Update a collection
- removeCommerceCollection - Remove a collection
- updateCommerceCollection - Update a collection
comment
- createTaskComment - Create a comment
- getTaskComment - Retrieve a comment
- listTaskComments - List all comments
- patchTaskComment - Update a comment
- removeTaskComment - Remove a comment
- updateTaskComment - Update a comment
commerce
- createCommerceCollection - Create a collection
- createCommerceInventory - Create an inventory
- createCommerceItem - Create an item
- createCommerceLocation - Create a location
- getCommerceCollection - Retrieve a collection
- getCommerceInventory - Retrieve an inventory
- getCommerceItem - Retrieve an item
- getCommerceLocation - Retrieve a location
- listCommerceCollections - List all collections
- listCommerceInventories - List all inventories
- listCommerceItems - List all items
- listCommerceLocations - List all locations
- patchCommerceCollection - Update a collection
- patchCommerceInventory - Update an inventory
- patchCommerceItem - Update an item
- patchCommerceLocation - Update a location
- removeCommerceCollection - Remove a collection
- removeCommerceInventory - Remove an inventory
- removeCommerceItem - Remove an item
- removeCommerceLocation - Remove a location
- updateCommerceCollection - Update a collection
- updateCommerceInventory - Update an inventory
- updateCommerceItem - Update an item
- updateCommerceLocation - Update a location
commit
- createRepoCommit - Create a commit
- getRepoCommit - Retrieve a commit
- listRepoCommits - List all commits
- patchRepoCommit - Update a commit
- removeRepoCommit - Remove a commit
- updateRepoCommit - Update a commit
company
- createCrmCompany - Create a company
- createHrisCompany - Create a company
- getAtsCompany - Retrieve a company
- getCrmCompany - Retrieve a company
- getHrisCompany - Retrieve a company
- listAtsCompanies - List all companies
- listCrmCompanies - List all companies
- listEnrichCompanies - Retrieve enrichment information for a company
- listHrisCompanies - List all companies
- patchCrmCompany - Update a company
- patchHrisCompany - Update a company
- removeCrmCompany - Remove a company
- removeHrisCompany - Remove a company
- updateCrmCompany - Update a company
- updateHrisCompany - Update a company
connection
- createUnifiedConnection - Create connection
- getUnifiedConnection - Retrieve connection
- listUnifiedConnections - List all connections
- patchUnifiedConnection - Update connection
- removeUnifiedConnection - Remove connection
- updateUnifiedConnection - Update connection
contact
- createAccountingContact - Create a contact
- createCrmContact - Create a contact
- createUcContact - Create a contact
- getAccountingContact - Retrieve a contact
- getCrmContact - Retrieve a contact
- getUcContact - Retrieve a contact
- listAccountingContacts - List all contacts
- listCrmContacts - List all contacts
- listUcContacts - List all contacts
- patchAccountingContact - Update a contact
- patchCrmContact - Update a contact
- patchUcContact - Update a contact
- removeAccountingContact - Remove a contact
- removeCrmContact - Remove a contact
- removeUcContact - Remove a contact
- updateAccountingContact - Update a contact
- updateCrmContact - Update a contact
- updateUcContact - Update a contact
course
- createLmsCourse - Create a course
- getLmsCourse - Retrieve a course
- listLmsCourses - List all courses
- patchLmsCourse - Update a course
- removeLmsCourse - Remove a course
- updateLmsCourse - Update a course
crm
- createCrmCompany - Create a company
- createCrmContact - Create a contact
- createCrmDeal - Create a deal
- createCrmEvent - Create an event
- createCrmLead - Create a lead
- createCrmPipeline - Create a pipeline
- getCrmCompany - Retrieve a company
- getCrmContact - Retrieve a contact
- getCrmDeal - Retrieve a deal
- getCrmEvent - Retrieve an event
- getCrmLead - Retrieve a lead
- getCrmPipeline - Retrieve a pipeline
- listCrmCompanies - List all companies
- listCrmContacts - List all contacts
- listCrmDeals - List all deals
- listCrmEvents - List all events
- listCrmLeads - List all leads
- listCrmPipelines - List all pipelines
- patchCrmCompany - Update a company
- patchCrmContact - Update a contact
- patchCrmDeal - Update a deal
- patchCrmEvent - Update an event
- patchCrmLead - Update a lead
- patchCrmPipeline - Update a pipeline
- removeCrmCompany - Remove a company
- removeCrmContact - Remove a contact
- removeCrmDeal - Remove a deal
- removeCrmEvent - Remove an event
- removeCrmLead - Remove a lead
- removeCrmPipeline - Remove a pipeline
- updateCrmCompany - Update a company
- updateCrmContact - Update a contact
- updateCrmDeal - Update a deal
- updateCrmEvent - Update an event
- updateCrmLead - Update a lead
- updateCrmPipeline - Update a pipeline
customer
- createTicketingCustomer - Create a customer
- getTicketingCustomer - Retrieve a customer
- listTicketingCustomers - List all customers
- patchTicketingCustomer - Update a customer
- removeTicketingCustomer - Remove a customer
- updateTicketingCustomer - Update a customer
deal
- createCrmDeal - Create a deal
- getCrmDeal - Retrieve a deal
- listCrmDeals - List all deals
- patchCrmDeal - Update a deal
- removeCrmDeal - Remove a deal
- updateCrmDeal - Update a deal
document
- createAtsDocument - Create a document
- getAtsDocument - Retrieve a document
- listAtsDocuments - List all documents
- patchAtsDocument - Update a document
- removeAtsDocument - Remove a document
- updateAtsDocument - Update a document
employee
- createHrisEmployee - Create an employee
- getHrisEmployee - Retrieve an employee
- listHrisEmployees - List all employees
- patchHrisEmployee - Update an employee
- removeHrisEmployee - Remove an employee
- updateHrisEmployee - Update an employee
enrich
- listEnrichCompanies - Retrieve enrichment information for a company
- listEnrichPeople - Retrieve enrichment information for a person
event
- createCrmEvent - Create an event
- getCrmEvent - Retrieve an event
- listCrmEvents - List all events
- patchCrmEvent - Update an event
- removeCrmEvent - Remove an event
- updateCrmEvent - Update an event
file
- createStorageFile - Create a file
- getStorageFile - Retrieve a file
- listStorageFiles - List all files
- patchStorageFile - Update a file
- removeStorageFile - Remove a file
- updateStorageFile - Update a file
genai
- createGenaiPrompt - Create a prompt
- listGenaiModels - List all models
group
- createHrisGroup - Create a group
- createScimGroups - Create group
- getHrisGroup - Retrieve a group
- getScimGroups - Get group
- listHrisGroups - List all groups
- listScimGroups - List groups
- patchHrisGroup - Update a group
- patchScimGroups - Update group
- removeHrisGroup - Remove a group
- removeScimGroups - Delete group
- updateHrisGroup - Update a group
- updateScimGroups - Update group
hris
- createHrisCompany - Create a company
- createHrisEmployee - Create an employee
- createHrisGroup - Create a group
- createHrisLocation - Create a location
- getHrisCompany - Retrieve a company
- getHrisEmployee - Retrieve an employee
- getHrisGroup - Retrieve a group
- getHrisLocation - Retrieve a location
- getHrisPayslip - Retrieve a payslip
- getHrisTimeoff - Retrieve a timeoff
- listHrisCompanies - List all companies
- listHrisEmployees - List all employees
- listHrisGroups - List all groups
- listHrisLocations - List all locations
- listHrisPayslips - List all payslips
- listHrisTimeoffs - List all timeoffs
- patchHrisCompany - Update a company
- patchHrisEmployee - Update an employee
- patchHrisGroup - Update a group
- patchHrisLocation - Update a location
- removeHrisCompany - Remove a company
- removeHrisEmployee - Remove an employee
- removeHrisGroup - Remove a group
- removeHrisLocation - Remove a location
- updateHrisCompany - Update a company
- updateHrisEmployee - Update an employee
- updateHrisGroup - Update a group
- updateHrisLocation - Update a location
instructor
- createLmsInstructor - Create an instructor
- getLmsInstructor - Retrieve an instructor
- listLmsInstructors - List all instructors
- patchLmsInstructor - Update an instructor
- removeLmsInstructor - Remove an instructor
- updateLmsInstructor - Update an instructor
integration
- getUnifiedIntegrationAuth - Create connection indirectly
- listUnifiedIntegrationWorkspaces - Returns all activated integrations in a workspace
- listUnifiedIntegrations - Returns all integrations
interview
- createAtsInterview - Create an interview
- getAtsInterview - Retrieve an interview
- listAtsInterviews - List all interviews
- patchAtsInterview - Update an interview
- removeAtsInterview - Remove an interview
- updateAtsInterview - Update an interview
inventory
- createCommerceInventory - Create an inventory
- getCommerceInventory - Retrieve an inventory
- listCommerceInventories - List all inventories
- patchCommerceInventory - Update an inventory
- removeCommerceInventory - Remove an inventory
- updateCommerceInventory - Update an inventory
invoice
- createAccountingInvoice - Create an invoice
- getAccountingInvoice - Retrieve an invoice
- listAccountingInvoices - List all invoices
- patchAccountingInvoice - Update an invoice
- removeAccountingInvoice - Remove an invoice
- updateAccountingInvoice - Update an invoice
issue
- listUnifiedIssues - List support issues
item
- createCommerceItem - Create an item
- getCommerceItem - Retrieve an item
- listCommerceItems - List all items
- patchCommerceItem - Update an item
- removeCommerceItem - Remove an item
- updateCommerceItem - Update an item
job
- createAtsJob - Create a job
- getAtsJob - Retrieve a job
- listAtsJobs - List all jobs
- patchAtsJob - Update a job
- removeAtsJob - Remove a job
- updateAtsJob - Update a job
journal
- createAccountingJournal - Create a journal
- getAccountingJournal - Retrieve a journal
- listAccountingJournals - List all journals
- patchAccountingJournal - Update a journal
- removeAccountingJournal - Remove a journal
- updateAccountingJournal - Update a journal
kms
- createKmsPage - Create a page
- createKmsSpace - Create a space
- getKmsPage - Retrieve a page
- getKmsSpace - Retrieve a space
- listKmsPages - List all pages
- listKmsSpaces - List all spaces
- patchKmsPage - Update a page
- patchKmsSpace - Update a space
- removeKmsPage - Remove a page
- removeKmsSpace - Remove a space
- updateKmsPage - Update a page
- updateKmsSpace - Update a space
lead
- createCrmLead - Create a lead
- getCrmLead - Retrieve a lead
- listCrmLeads - List all leads
- patchCrmLead - Update a lead
- removeCrmLead - Remove a lead
- updateCrmLead - Update a lead
link
- createPaymentLink - Create a link
- getPaymentLink - Retrieve a link
- listPaymentLinks - List all links
- patchPaymentLink - Update a link
- removePaymentLink - Remove a link
- updatePaymentLink - Update a link
list
- createMartechList - Create a list
- getMartechList - Retrieve a list
- listMartechLists - List all lists
- patchMartechList - Update a list
- removeMartechList - Remove a list
- updateMartechList - Update a list
lms
- createLmsClass - Create a class
- createLmsCourse - Create a course
- createLmsInstructor - Create an instructor
- createLmsStudent - Create a student
- getLmsClass - Retrieve a class
- getLmsCourse - Retrieve a course
- getLmsInstructor - Retrieve an instructor
- getLmsStudent - Retrieve a student
- listLmsClasses - List all classes
- listLmsCourses - List all courses
- listLmsInstructors - List all instructors
- listLmsStudents - List all students
- patchLmsClass - Update a class
- patchLmsCourse - Update a course
- patchLmsInstructor - Update an instructor
- patchLmsStudent - Update a student
- removeLmsClass - Remove a class
- removeLmsCourse - Remove a course
- removeLmsInstructor - Remove an instructor
- removeLmsStudent - Remove a student
- updateLmsClass - Update a class
- updateLmsCourse - Update a course
- updateLmsInstructor - Update an instructor
- updateLmsStudent - Update a student
location
- createCommerceLocation - Create a location
- createHrisLocation - Create a location
- getCommerceLocation - Retrieve a location
- getHrisLocation - Retrieve a location
- listCommerceLocations - List all locations
- listHrisLocations - List all locations
- patchCommerceLocation - Update a location
- patchHrisLocation - Update a location
- removeCommerceLocation - Remove a location
- removeHrisLocation - Remove a location
- updateCommerceLocation - Update a location
- updateHrisLocation - Update a location
login
- getUnifiedIntegrationLogin - Sign in a user
martech
- createMartechList - Create a list
- createMartechMember - Create a member
- getMartechList - Retrieve a list
- getMartechMember - Retrieve a member
- listMartechLists - List all lists
- listMartechMembers - List all members
- patchMartechList - Update a list
- patchMartechMember - Update a member
- removeMartechList - Remove a list
- removeMartechMember - Remove a member
- updateMartechList - Update a list
- updateMartechMember - Update a member
member
- createMartechMember - Create a member
- getMartechMember - Retrieve a member
- listMartechMembers - List all members
- patchMartechMember - Update a member
- removeMartechMember - Remove a member
- updateMartechMember - Update a member
message
- createMessagingMessage - Create a message
- getMessagingMessage - Retrieve a message
- listMessagingMessages - List all messages
- patchMessagingMessage - Update a message
- removeMessagingMessage - Remove a message
- updateMessagingMessage - Update a message
messaging
- createMessagingMessage - Create a message
- getMessagingChannel - Retrieve a channel
- getMessagingMessage - Retrieve a message
- listMessagingChannels - List all channels
- listMessagingMessages - List all messages
- patchMessagingMessage - Update a message
- removeMessagingMessage - Remove a message
- updateMessagingMessage - Update a message
metadata
- createMetadataMetadata - Create a metadata
- getMetadataMetadata - Retrieve a metadata
- listMetadataMetadatas - List all metadatas
- patchMetadataMetadata - Update a metadata
- removeMetadataMetadata - Remove a metadata
- updateMetadataMetadata - Update a metadata
model
- listGenaiModels - List all models
note
- createTicketingNote - Create a note
- getTicketingNote - Retrieve a note
- listTicketingNotes - List all notes
- patchTicketingNote - Update a note
- removeTicketingNote - Remove a note
- updateTicketingNote - Update a note
order
- createAccountingOrder - Create an order
- getAccountingOrder - Retrieve an order
- listAccountingOrders - List all orders
- patchAccountingOrder - Update an order
- removeAccountingOrder - Remove an order
- updateAccountingOrder - Update an order
organization
- createRepoOrganization - Create an organization
- getAccountingOrganization - Retrieve an organization
- getRepoOrganization - Retrieve an organization
- listAccountingOrganizations - List all organizations
- listRepoOrganizations - List all organizations
- patchRepoOrganization - Update an organization
- removeRepoOrganization - Remove an organization
- updateRepoOrganization - Update an organization
page
- createKmsPage - Create a page
- getKmsPage - Retrieve a page
- listKmsPages - List all pages
- patchKmsPage - Update a page
- removeKmsPage - Remove a page
- updateKmsPage - Update a page
passthrough
- createPassthroughJson - Passthrough POST
- createPassthroughRaw - Passthrough POST
- listPassthroughs - Passthrough GET
- patchPassthroughJson - Passthrough PUT
- patchPassthroughRaw - Passthrough PUT
- removePassthrough - Passthrough DELETE
- updatePassthroughJson - Passthrough PUT
- updatePassthroughRaw - Passthrough PUT
payment
- createPaymentLink - Create a link
- createPaymentPayment - Create a payment
- createPaymentSubscription - Create a subscription
- getPaymentLink - Retrieve a link
- getPaymentPayment - Retrieve a payment
- getPaymentPayout - Retrieve a payout
- getPaymentRefund - Retrieve a refund
- getPaymentSubscription - Retrieve a subscription
- listPaymentLinks - List all links
- listPaymentPayments - List all payments
- listPaymentPayouts - List all payouts
- listPaymentRefunds - List all refunds
- listPaymentSubscriptions - List all subscriptions
- patchPaymentLink - Update a link
- patchPaymentPayment - Update a payment
- patchPaymentSubscription - Update a subscription
- removePaymentLink - Remove a link
- removePaymentPayment - Remove a payment
- removePaymentSubscription - Remove a subscription
- updatePaymentLink - Update a link
- updatePaymentPayment - Update a payment
- updatePaymentSubscription - Update a subscription
payout
- getPaymentPayout - Retrieve a payout
- listPaymentPayouts - List all payouts
payslip
- getHrisPayslip - Retrieve a payslip
- listHrisPayslips - List all payslips
person
- listEnrichPeople - Retrieve enrichment information for a person
pipeline
- createCrmPipeline - Create a pipeline
- getCrmPipeline - Retrieve a pipeline
- listCrmPipelines - List all pipelines
- patchCrmPipeline - Update a pipeline
- removeCrmPipeline - Remove a pipeline
- updateCrmPipeline - Update a pipeline
project
- createTaskProject - Create a project
- getTaskProject - Retrieve a project
- listTaskProjects - List all projects
- patchTaskProject - Update a project
- removeTaskProject - Remove a project
- updateTaskProject - Update a project
prompt
- createGenaiPrompt - Create a prompt
pullrequest
- createRepoPullrequest - Create a pullrequest
- getRepoPullrequest - Retrieve a pullrequest
- listRepoPullrequests - List all pullrequests
- patchRepoPullrequest - Update a pullrequest
- removeRepoPullrequest - Remove a pullrequest
- updateRepoPullrequest - Update a pullrequest
refund
- getPaymentRefund - Retrieve a refund
- listPaymentRefunds - List all refunds
repo
- createRepoBranch - Create a branch
- createRepoCommit - Create a commit
- createRepoOrganization - Create an organization
- createRepoPullrequest - Create a pullrequest
- createRepoRepository - Create a repository
- getRepoBranch - Retrieve a branch
- getRepoCommit - Retrieve a commit
- getRepoOrganization - Retrieve an organization
- getRepoPullrequest - Retrieve a pullrequest
- getRepoRepository - Retrieve a repository
- listRepoBranches - List all branches
- listRepoCommits - List all commits
- listRepoOrganizations - List all organizations
- listRepoPullrequests - List all pullrequests
- listRepoRepositories - List all repositories
- patchRepoBranch - Update a branch
- patchRepoCommit - Update a commit
- patchRepoOrganization - Update an organization
- patchRepoPullrequest - Update a pullrequest
- patchRepoRepository - Update a repository
- removeRepoBranch - Remove a branch
- removeRepoCommit - Remove a commit
- removeRepoOrganization - Remove an organization
- removeRepoPullrequest - Remove a pullrequest
- removeRepoRepository - Remove a repository
- updateRepoBranch - Update a branch
- updateRepoCommit - Update a commit
- updateRepoOrganization - Update an organization
- updateRepoPullrequest - Update a pullrequest
- updateRepoRepository - Update a repository
repository
- createRepoRepository - Create a repository
- getRepoRepository - Retrieve a repository
- listRepoRepositories - List all repositories
- patchRepoRepository - Update a repository
- removeRepoRepository - Remove a repository
- updateRepoRepository - Update a repository
scim
- createScimGroups - Create group
- createScimUsers - Create user
- getScimGroups - Get group
- getScimUsers - Get user
- listScimGroups - List groups
- listScimUsers - List users
- patchScimGroups - Update group
- patchScimUsers - Update user
- removeScimGroups - Delete group
- removeScimUsers - Delete user
- updateScimGroups - Update group
- updateScimUsers - Update user
scorecard
- createAtsScorecard - Create a scorecard
- getAtsScorecard - Retrieve a scorecard
- listAtsScorecards - List all scorecards
- patchAtsScorecard - Update a scorecard
- removeAtsScorecard - Remove a scorecard
- updateAtsScorecard - Update a scorecard
space
- createKmsSpace - Create a space
- getKmsSpace - Retrieve a space
- listKmsSpaces - List all spaces
- patchKmsSpace - Update a space
- removeKmsSpace - Remove a space
- updateKmsSpace - Update a space
storage
- createStorageFile - Create a file
- getStorageFile - Retrieve a file
- listStorageFiles - List all files
- patchStorageFile - Update a file
- removeStorageFile - Remove a file
- updateStorageFile - Update a file
student
- createLmsStudent - Create a student
- getLmsStudent - Retrieve a student
- listLmsStudents - List all students
- patchLmsStudent - Update a student
- removeLmsStudent - Remove a student
- updateLmsStudent - Update a student
subscription
- createPaymentSubscription - Create a subscription
- getPaymentSubscription - Retrieve a subscription
- listPaymentSubscriptions - List all subscriptions
- patchPaymentSubscription - Update a subscription
- removePaymentSubscription - Remove a subscription
- updatePaymentSubscription - Update a subscription
task
- createTaskComment - Create a comment
- createTaskProject - Create a project
- createTaskTask - Create a task
- getTaskComment - Retrieve a comment
- getTaskProject - Retrieve a project
- getTaskTask - Retrieve a task
- listTaskComments - List all comments
- listTaskProjects - List all projects
- listTaskTasks - List all tasks
- patchTaskComment - Update a comment
- patchTaskProject - Update a project
- patchTaskTask - Update a task
- removeTaskComment - Remove a comment
- removeTaskProject - Remove a project
- removeTaskTask - Remove a task
- updateTaskComment - Update a comment
- updateTaskProject - Update a project
- updateTaskTask - Update a task
taxrate
- createAccountingTaxrate - Create a taxrate
- getAccountingTaxrate - Retrieve a taxrate
- listAccountingTaxrates - List all taxrates
- patchAccountingTaxrate - Update a taxrate
- removeAccountingTaxrate - Remove a taxrate
- updateAccountingTaxrate - Update a taxrate
ticket
- createTicketingTicket - Create a ticket
- getTicketingTicket - Retrieve a ticket
- listTicketingTickets - List all tickets
- patchTicketingTicket - Update a ticket
- removeTicketingTicket - Remove a ticket
- updateTicketingTicket - Update a ticket
ticketing
- createTicketingCustomer - Create a customer
- createTicketingNote - Create a note
- createTicketingTicket - Create a ticket
- getTicketingCustomer - Retrieve a customer
- getTicketingNote - Retrieve a note
- getTicketingTicket - Retrieve a ticket
- listTicketingCustomers - List all customers
- listTicketingNotes - List all notes
- listTicketingTickets - List all tickets
- patchTicketingCustomer - Update a customer
- patchTicketingNote - Update a note
- patchTicketingTicket - Update a ticket
- removeTicketingCustomer - Remove a customer
- removeTicketingNote - Remove a note
- removeTicketingTicket - Remove a ticket
- updateTicketingCustomer - Update a customer
- updateTicketingNote - Update a note
- updateTicketingTicket - Update a ticket
timeoff
- getHrisTimeoff - Retrieve a timeoff
- listHrisTimeoffs - List all timeoffs
transaction
- createAccountingTransaction - Create a transaction
- getAccountingTransaction - Retrieve a transaction
- listAccountingTransactions - List all transactions
- patchAccountingTransaction - Update a transaction
- removeAccountingTransaction - Remove a transaction
- updateAccountingTransaction - Update a transaction
uc
- createUcContact - Create a contact
- getUcContact - Retrieve a contact
- listUcCalls - List all calls
- listUcContacts - List all contacts
- patchUcContact - Update a contact
- removeUcContact - Remove a contact
- updateUcContact - Update a contact
unified
- createUnifiedConnection - Create connection
- createUnifiedWebhook - Create webhook subscription
- getUnifiedApicall - Retrieve specific API Call by its ID
- getUnifiedConnection - Retrieve connection
- getUnifiedIntegrationAuth - Create connection indirectly
- getUnifiedWebhook - Retrieve webhook by its ID
- listUnifiedApicalls - Returns API Calls
- listUnifiedConnections - List all connections
- listUnifiedIntegrationWorkspaces - Returns all activated integrations in a workspace
- listUnifiedIntegrations - Returns all integrations
- listUnifiedIssues - List support issues
- listUnifiedWebhooks - Returns all registered webhooks
- patchUnifiedConnection - Update connection
- patchUnifiedWebhook - Update webhook subscription
- patchUnifiedWebhookTrigger - Trigger webhook
- removeUnifiedConnection - Remove connection
- removeUnifiedWebhook - Remove webhook subscription
- updateUnifiedConnection - Update connection
- updateUnifiedWebhook - Update webhook subscription
- updateUnifiedWebhookTrigger - Trigger webhook
user
- createScimUsers - Create user
- getScimUsers - Get user
- listScimUsers - List users
- patchScimUsers - Update user
- removeScimUsers - Delete user
- updateScimUsers - Update user
webhook
- createUnifiedWebhook - Create webhook subscription
- getUnifiedWebhook - Retrieve webhook by its ID
- listUnifiedWebhooks - Returns all registered webhooks
- patchUnifiedWebhook - Update webhook subscription
- patchUnifiedWebhookTrigger - Trigger webhook
- removeUnifiedWebhook - Remove webhook subscription
- updateUnifiedWebhook - Update webhook subscription
- updateUnifiedWebhookTrigger - Trigger webhook
Error Handling
Handling errors in this SDK should largely match your expectations. All operations return a response object or throw an exception.
By default an API error will raise a Errors\SDKException
exception, which has the following properties:
When custom error responses are specified for an operation, the SDK may also throw their associated exception. You can refer to respective Errors tables in SDK docs for more details on possible exception types for each operation. For example, the createAccountingAccount
method throws the following exceptions:
Example
declare(strict_types=1); require 'vendor/autoload.php'; use Unified\Unified_to; use Unified\Unified_to\Models\Operations; $sdk = Unified_to\UnifiedTo::builder() ->setSecurity( '<YOUR_API_KEY_HERE>' ) ->build(); try { $request = new Operations\CreateAccountingAccountRequest( connectionId: '<id>', ); $response = $sdk->accounting->createAccountingAccount( request: $request ); if ($response->accountingAccount !== null) { // handle response } } catch (Errors\SDKException $e) { // handle default exception throw $e; }
Server Selection
Select Server by Index
You can override the default server globally using the setServerIndex(int $serverIdx)
builder method when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:
Example
declare(strict_types=1); require 'vendor/autoload.php'; use Unified\Unified_to; use Unified\Unified_to\Models\Operations; $sdk = Unified_to\UnifiedTo::builder() ->setServerIndex(1) ->setSecurity( '<YOUR_API_KEY_HERE>' ) ->build(); $request = new Operations\CreateAccountingAccountRequest( connectionId: '<id>', ); $response = $sdk->accounting->createAccountingAccount( request: $request ); if ($response->accountingAccount !== null) { // handle response }
Override Server URL Per-Client
The default server can also be overridden globally using the setServerUrl(string $serverUrl)
builder method when initializing the SDK client instance. For example:
declare(strict_types=1); require 'vendor/autoload.php'; use Unified\Unified_to; use Unified\Unified_to\Models\Operations; $sdk = Unified_to\UnifiedTo::builder() ->setServerURL('https://api.unified.to') ->setSecurity( '<YOUR_API_KEY_HERE>' ) ->build(); $request = new Operations\CreateAccountingAccountRequest( connectionId: '<id>', ); $response = $sdk->accounting->createAccountingAccount( request: $request ); if ($response->accountingAccount !== null) { // handle response }
Summary
Unified.to API: One API to Rule Them All
Table of Contents
- SDK Installation
- SDK Example Usage
- Authentication
- Available Resources and Operations
- Error Handling
- Server Selection
Maturity
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.
Contributions
While we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release!