Skip to main content

99

Integração com a 99 Corporate API para gerenciar empresas, centros de custo, projetos, funcionários, corridas, recibos e webhooks.

99 Logo

Authentication

This connector uses Token-based authentication.

info

Set up your connection in the Abstra Console before using it in your workflows.

How to use

Using the Smart Chat

Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".

Using the Web Editor

from abstra.connectors import run_connection_action

result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})

Available Actions

This connector provides 72 actions:

ActionPurposeParameters
get_companiesList all companies authorized to youNo parameters
put_companies_disableDisable project required for companyNo parameters
get_companies_emailsList all emails of those responsible for companyNo parameters
put_companies_emailsUpdate emails of those responsible for companydata (array) required
put_companies_enableEnable project required for companyNo parameters
get_companies_justificationFind justificationNo parameters
put_companies_justificationUpdate justificationdata: {
. companyId (integer)
. justificationRequired (boolean)
. maxLength (integer)
. minLength (integer)
} (object) required
get_companies_receipt_emailFind receipt email configurationNo parameters
put_companies_receipt_emailUpdate receipt email configurationdata (boolean) required
get_costcentersList cost centers of your companylimit (string)
page (string)
search (string)
post_costcentersCreate a cost centerdata: {
. name (string)
} (object) required
get_costcenters_by_idFind a cost center by IDid (string)
delete_costcenters_by_idRemove cost center referenceid (string)
get_costcenters_by_id_ownersFind Cost center's ownerid (string)
put_costcenters_by_id_ownersUpdate cost center's ownerid (string)
data (array) required
get_employeesList employees of your companylimit (string)
nationalId (string)
page (string)
search (string)
post_employeesCreate an employeedata: {
. employee (object)
. sendWelcomeEmail (boolean)
} (object) required
post_employees_external_idCreate an employee by external iddata: {
. employee (object)
. sendWelcomeEmail (boolean)
} (object)
get_employees_external_id_by_external_idFind employees by external idexternalId (string)
delete_employees_external_id_by_external_idDisable employees by external idexternalId (string)
get_employees_external_id_by_external_id_costcenterList employees cost centers by external idexternalId (string)
patch_employees_external_id_by_external_id_costcenterUpdate employees cost center references by external idexternalId (string)
data: {
. costCenterIDs (array)
} (object) required
delete_employees_external_id_by_external_id_costcenter_by_cost_center_idRemove employees cost center reference by external idcostCenterId (string)
externalId (string)
get_employees_external_id_by_external_id_policyGet employees policy by external idexternalId (string)
put_employees_external_id_by_external_id_policyUpdate policy for the employees by external idexternalId (string)
data: {
. budget (object)
. rideCredit (object)
} (object) required
delete_employees_external_id_by_external_id_policyRemove policy for employees by external idexternalId (string)
delete_employees_external_id_by_external_id_supervisorRemove supervisor from employees by external idexternalId (string)
put_employees_external_id_by_external_id_by_phoneUpdate employees by external id and phoneexternalId (string)
phone (string)
data: {
. employee (object)
. sendWelcomeEmail (boolean)
} (object)
post_employees_by_employee_id_agreementEmployee accepts agreementemployeeId (string)
data: {
. term (object)
} (object) required
get_employees_by_employee_id_costcenterList employee cost centersemployeeId (string)
patch_employees_by_employee_id_costcenterUpdate employee cost center referencesemployeeId (string)
data: {
. costCenterIDs (array)
} (object)
delete_employees_by_employee_id_costcenter_by_cost_center_idRemove employee cost center referencecostCenterId (string)
employeeId (string)
get_employees_by_employee_id_policyGet policy from employeeemployeeId (string)
put_employees_by_employee_id_policyUpdate policy for the employeeemployeeId (string)
data: {
. budget (object)
. rideCredit (object)
} (object) required
delete_employees_by_employee_id_policyRemove policy for employeeemployeeId (string)
get_employees_by_idFind an employee by IDid (string)
put_employees_by_idUpdate an employeeid (string)
data: {
. employee (object)
. sendWelcomeEmail (boolean)
} (object)
delete_employees_by_idDisable an employeeid (string)
delete_employees_by_id_supervisorRemove supervisor from employeeid (string)
get_projectsList projects of your companylimit (string)
page (string)
search (string)
post_projectsCreate an projectdata: {
. name (string)
} (object) required
get_projects_by_idFind an project by IDid (string)
put_projects_by_idUpdate an projectid (string)
data: {
. name (string)
} (object) required
delete_projects_by_idDisable an projectid (string)
get_receiptsList receipts by filterscostCenterId (string)
endDate (string) required
limit (string)
page (string)
projectId (string)
startDate (string) required
taxiCategory (string)
get_receipts_receipt_id_by_receipt_idGet a receipt by Receipt IdreceiptId (string)
get_receipts_by_ride_idGet a receipt by Ride IdrideId (string)
get_ridesGet the running ride status with optional filter by phonephone (string)
post_ridesBook a ridedata: {
. categoryID (string)
. categoryIds (array)
. costCenterID (integer)
. employeeID (integer)
. from (object)
. notes (string)
. optionals (array)
. phoneNumber (string)
. projectID (integer)
. receiver (object)
. to
} (object) required
get_rides_estimate_by_employee_idFind estimate ride by employee idemployeeId (string)
fromAddress (string)
fromLat (string)
fromLng (string)
toAddress (string)
toLat (string)
toLng (string)
get_rides_update_estimate_by_ride_idEstimate a update riderideId (string)
toAddress (string)
toLat (string) required
toLng (string) required
get_rides_by_idGet the running ride status by idid (string)
delete_rides_by_idCancel a ride by idid (string)
patch_rides_by_ride_idUpdate a riderideId (string)
data: {
. notes (string)
. to (object)
} (object) required
get_timepoliciesList all time policieslimit (string)
page (string)
post_timepoliciesCreate a Time Policydata: {
. description (string)
. intervals (array)
. name (string)
} (object) required
get_timepolicies_by_idFind a Time Policyid (string)
put_timepolicies_by_idUpdate a Time Policyid (string)
data: {
. description (string)
. intervals (array)
. name (string)
} (object) required
delete_timepolicies_by_idDisable a Time Policyid (string)
get_timepolicies_by_time_policy_id_costcenterList Cost Centers using the time policytimePolicyId (string)
patch_timepolicies_by_time_policy_id_costcenterUpdate Cost Centers using the Time PolicytimePolicyId (string)
data (array) required
delete_timepolicies_by_time_policy_id_costcenter_by_cost_center_idCost center stop to use the Time PolicycostCenterId (string)
timePolicyId (string)
get_usersList users of companylimit (string)
page (string)
post_usersCreate an Userdata: {
. email (string)
. name (string)
} (object) required
delete_usersRemove useremail (string) required
put_users_adminUpdate to Corporate Useremail (string) required
delete_users_adminUpdate to Corporate Useremail (string) required
put_users_profileUpdate profile for userdata: {
. email (string)
. profile (string)
} (object) required
get_webhookGet webhook configurationNo parameters
put_webhookUpdate webhook configurationdata: {
. authentication (object)
. id (string)
. subscriptions (array)
. url (string)
} (object) required
delete_webhookDelete webhook configurationNo parameters
customCall any endpoint of the connected service while reusing the connection auth. Pass the full URL as _url. Other reserved keys: _method, _query, _body, _headers. Remaining params flow naturally — empty → GET, non-empty → POST JSON body._url (string) required
_method (string)
_query (object)
_body
_headers (object)

Webhook Events

This connector emits 2 events back to your workflow. To receive one, create a hook whose path is <connection-name>/<event> — the connection name you configured plus the event from the table below.

EventDescription
ride-statusOcorre quando o status de uma corrida muda criada, aceita, concluída, etc..
ride-driver-locationOcorre quando a localização do motorista de uma corrida em andamento é atualizada.