KosmoKrator

marketing

Pinterest CLI for Cron Jobs

Use the Pinterest CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 6 read 1 write Manual OAuth token auth

Pinterest CLI for Cron Jobs

Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.

Use the headless CLI from cron when an operation should run without an interactive agent session. The Pinterest CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Pinterest CLI for Cron Jobs
kosmokrator integrations:configure pinterest --set access_token="$PINTEREST_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call pinterest.pinterest_create_pin '{"boardId":"example_boardId","title":"example_title","description":"example_description","mediaSource":"example_mediaSource","imageUrl":"example_imageUrl","link":"example_link"}' --json

Discovery Before Execution

Agents and scripts can inspect Pinterest docs and schemas before choosing a function.

kosmo integrations:docs pinterest --json
kosmo integrations:docs pinterest.pinterest_create_pin --json
kosmo integrations:schema pinterest.pinterest_create_pin --json
kosmo integrations:search "Pinterest" --json
kosmo integrations:list --json

Useful Pinterest CLI Functions

FunctionTypeParametersDescription
pinterest.pinterest_create_pin Write boardId, title, description, mediaSource, imageUrl, link Create a new pin on a Pinterest board. Provide the board ID, title, description, and image URL. Optionally include a destination link.
pinterest.pinterest_get_board Read boardId Get details of a specific Pinterest board by its ID. Returns the board name, description, pin count, and privacy settings.
pinterest.pinterest_get_current_user Read none Get the currently authenticated Pinterest user profile. Returns the username, account type, and profile image.
pinterest.pinterest_get_pin Read pinId Get details of a specific Pinterest pin by its ID. Returns the pin title, description, image, board, and link.
pinterest.pinterest_list_boards Read bookmark, pageSize List boards for the authenticated Pinterest user. Supports pagination with bookmark cursor and page size. Returns board IDs, names, descriptions, and pin counts.
pinterest.pinterest_list_campaigns Read adAccountId, bookmark, pageSize List ad campaigns for a Pinterest ad account. Requires an ad account ID. Supports pagination with bookmark cursor and page size.
pinterest.pinterest_list_pins Read bookmark, pageSize List pins for the authenticated Pinterest user. Supports pagination with bookmark cursor and page size. Returns pin IDs, titles, descriptions, and media.

Automation Notes

Related Pinterest CLI Pages