Volver al catálogo

PocketSmith

pocketsmith

PocketSmith is a personal finance platform for tracking accounts and transactions, managing budgets, and forecasting financial outcomes.

Acciones
14
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (14)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Create CategoryPOCKETSMITH_CREATE_CATEGORYAcción

Create one category for a PocketSmith user with optional hierarchy and budgeting behavior.

Parámetros de entrada

  • colorstring

    CSS hexadecimal color in #RRGGBB format.

  • titlestringObligatorio

    Category title.

  • is_billboolean

    Whether this is a bill category.

  • roll_upboolean

    Whether budget figures should roll up into the parent category.

  • user_idintegerObligatorio

    PocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.

  • is_transferboolean

    Whether this is a transfer category.

  • refund_behaviorstringenum

    How PocketSmith should treat refunds in this category.

    debits_are_deductionscredits_are_refunds
  • parent_category_idinteger

    Existing category ID that should become this category's parent.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create TransactionPOCKETSMITH_CREATE_TRANSACTIONAcción

Create one transaction in a specified transaction account and return the created financial record.

Parámetros de entrada

  • datestringObligatoriodate

    Date the transaction occurred in YYYY-MM-DD format.

  • memostring

    Memo for the transaction.

  • notestring

    Detailed note for the transaction.

  • payeestringObligatorio

    Payee or merchant for the transaction.

  • amountnumberObligatorio

    Signed amount: positive for a credit and negative for a debit.

  • labelsstring[]

    Labels to assign to the transaction.

  • category_idinteger

    Category ID to assign to the transaction.

  • is_transferboolean

    Whether this transaction represents a transfer.

  • needs_reviewboolean

    Whether the transaction should be marked for review.

  • cheque_numberstring

    Cheque number associated with the transaction.

  • transaction_account_idintegerObligatorio

    Transaction-account ID returned by POCKETSMITH_LIST_TRANSACTION_ACCOUNTS.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get BudgetPOCKETSMITH_GET_BUDGETAcción

Return a PocketSmith user's current category-level actual and forecast budget analysis. During probing, this read coincided with forecast cache access/update timestamps changing to the call timestamp and the forecast start date also changing; PocketSmith may therefore refresh derived forecast-cache metadata while serving it, although the probe did not establish that every call does so.

Parámetros de entrada

  • roll_upboolean

    Whether parent-category actual and forecast totals should include child categories. Child categories still appear separately.

  • user_idintegerObligatorio

    PocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Budget SummaryPOCKETSMITH_GET_BUDGET_SUMMARYAcción

Analyze the user's combined income and expense budget over a required date range and period interval.

Parámetros de entrada

  • periodstringObligatorioenum

    Unit used to group the analysis; event works only when gathered budget events align.

    weeksmonthsyearsevent
  • user_idintegerObligatorio

    PocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.

  • end_datestringObligatoriodate

    End of the analysis range in YYYY-MM-DD format; PocketSmith may expand it to complete periods.

  • intervalintegerObligatorio

    Number of period units in each analysis bucket, such as 2 weeks for fortnightly results.

  • start_datestringObligatoriodate

    Start of the analysis range in YYYY-MM-DD format; PocketSmith may expand it to complete periods.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Current UserPOCKETSMITH_GET_CURRENT_USERAcción

Return the PocketSmith user authorized by the connected developer key, including the user ID needed by user-scoped tools.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get TransactionPOCKETSMITH_GET_TRANSACTIONAcción

Return one PocketSmith transaction by ID with its amount, date, payee, category, labels, and review state.

Parámetros de entrada

  • transaction_idintegerObligatorio

    ID of the transaction to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List AccountsPOCKETSMITH_LIST_ACCOUNTSAcción

Return all financial accounts belonging to a PocketSmith user, including account, primary transaction-account, and scenario IDs.

Parámetros de entrada

  • user_idintegerObligatorio

    PocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List CategoriesPOCKETSMITH_LIST_CATEGORIESAcción

Return all categories belonging to a PocketSmith user, including hierarchy and budgeting flags.

Parámetros de entrada

  • user_idintegerObligatorio

    PocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Transaction AccountsPOCKETSMITH_LIST_TRANSACTION_ACCOUNTSAcción

Return the transaction accounts belonging to a PocketSmith user, including IDs and balances needed to create and query transactions.

Parámetros de entrada

  • user_idintegerObligatorio

    PocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List TransactionsPOCKETSMITH_LIST_TRANSACTIONSAcción

Return one page of a user's transactions with optional date, state, type, and keyword filters, plus a cursor for the next page.

Parámetros de entrada

  • searchstring

    Keyword matched against amount, account, payee, category, note, labels, and date.

  • user_idintegerObligatorio

    PocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.

  • end_datestringdate

    Latest transaction date, inclusive. Supply together with start_date.

  • per_pageinteger

    Maximum transactions in this page (10-1000).

  • start_datestringdate

    Earliest transaction date, inclusive. Supply together with end_date.

  • next_cursorstring

    Opaque continuation cursor returned by the previous call; omit for the first page.

  • needs_reviewboolean

    When true, return only transactions marked for review.

  • uncategorizedboolean

    When true, return only uncategorized transactions.

  • updated_sincestringdate-time

    Return only transactions updated since this ISO 8601 timestamp.

  • transaction_typestringenum

    Return only debit or credit transactions.

    debitcredit

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update AccountPOCKETSMITH_UPDATE_ACCOUNTAcción

Update selected metadata on one financial account without deleting it or changing transaction-account balances.

Parámetros de entrada

  • titlestring

    New account title.

  • account_idintegerObligatorio

    ID of the financial account to update, returned by POCKETSMITH_LIST_ACCOUNTS.

  • account_typestringenum

    New PocketSmith account type.

    bankcreditscashloansmortgagestocksvehiclepropertyinsuranceother_assetother_liability
  • is_net_worthboolean

    Whether PocketSmith should include the account in net worth.

  • currency_codestring

    New PocketSmith currency code, such as USD or NZD.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update CategoryPOCKETSMITH_UPDATE_CATEGORYAcción

Update selected hierarchy, display, and budgeting fields on one category without deleting it.

Parámetros de entrada

  • colorstring

    New CSS hexadecimal color in #RRGGBB format.

  • titlestring

    New category title.

  • is_billboolean

    Whether this is a bill category.

  • roll_upboolean

    Whether budget figures roll up into the parent category.

  • category_idintegerObligatorio

    ID of the category to update.

  • is_transferboolean

    Whether this is a transfer category.

  • refund_behaviorstringenum

    New refund treatment for this category.

    debits_are_deductionscredits_are_refunds
  • parent_category_idinteger

    New parent category ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update TransactionPOCKETSMITH_UPDATE_TRANSACTIONAcción

Update selected fields on one existing transaction without deleting or splitting it.

Parámetros de entrada

  • datestringdate

    New transaction date in YYYY-MM-DD format.

  • memostring

    New transaction memo.

  • notestring

    New detailed transaction note.

  • payeestring

    New payee or merchant.

  • amountnumber

    New signed amount: positive for a credit and negative for a debit.

  • labelsstring[]

    Replacement labels. Supply an empty list to remove all labels.

  • category_idinteger

    New category ID for the transaction.

  • is_transferboolean

    Whether this transaction represents a transfer.

  • needs_reviewboolean

    Whether the transaction needs review.

  • cheque_numberstring

    New cheque number.

  • clear_categoryboolean

    Set true to remove the transaction's current category.

  • transaction_idintegerObligatorio

    ID of the transaction to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update TransactionsPOCKETSMITH_UPDATE_TRANSACTIONSAcción

Update 1-20 distinct transactions sequentially. The operation is not atomic: successful updates are not rolled back, each item has an explicit outcome, and processing stops after an authentication, permission, rate-limit, server, unexpected-response, or ambiguous transport failure.

Parámetros de entrada

  • updatesobject[]Obligatorio

    Ordered updates for 1-20 distinct transactions. Each item is sent as a separate sequential PocketSmith request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not