Commerce
1Shot API
17 min
1shotapi provides ai powered image and video generation from text prompts integrating with make com enables users to automate the creation of custom visuals for marketing, social media, or e commerce workflows directly from their existing data and processes this is ai generated content based on official 1shot api documentation the content may contain mistakes please verify important information if you have questions on vendor documentation, contact https //1shotapi com/contact directly requirements to use the 1shot api app in make, you must have an active account and generate an api key and secret, https //1shotapi com for subscription, refer to the https //1shotapi com connect 1shot api and {{product name}} to get started, you must first create a connection between 1shot api and {{product name}} , allowing the two services to communicate obtain your oauth2 clientcredentials credentials in your 1shot api account create the connection in make obtain your oauth2 clientcredentials credentials in your 1shot api account before you create the connection in {{product name}} , you should first obtain your oauth2 clientcredentials credentials in your 1shot api account to obtain your oauth2 clientcredentials credentials navigate to your 1shot api dashboard after logging in click on api keys at the top right corner of the dashboard copy the client id displayed on screen copy the client secret displayed on screen copy the business id located at the top right corner of the dashboard you will use this value while creating a connection in {{product name}} because the ui might have changed, the steps you see on your screen might be different, https //docs 1shotapi com/automation/integromat html create the connection in {{product name}} https //www make com/en/register , add the 1shot api module to your {{scenario singular lowercase}} , and click create a connection if you add a module with an instant tag, click create a webhook , then create a connection optional in the connection name field, enter a name for the connection enter the authentication credentials you copied from your 1shot api account or follow the on screen instructions to create the connection for detailed information on connecting an application, see docid\ so88fm6pkt0g adkddfzz page 1shot api modules after connecting to the 1shot api app, you can choose from a list of available modules to build your {{scenario plural lowercase}} assure contract methods from prompt ensures that the appropriate contract methods are accessible according to the selected 1shot prompt create a wallet creates a new digital wallet for you to store and manage your funds; note that you will need to add money to the wallet separately delete a wallet deletes a specified wallet, but only if the wallet contains no funds or assets estimate gas for a contract method retrieve an estimated gas fee required to execute a specific method on a smart contract execute a contract method call a specific method on a smart contract and generate a new blockchain transaction get a contract method retrieves detailed information about a specified contract method get a transaction retrieve detailed information about a specific transaction, allowing you to check whether the transaction has been completed or has failed get a wallet retrieves the details and current balance of a specific wallet list chains retrieves a list of blockchain networks that are compatible with the 1shot api list contract methods retrieves a list of all available contract methods from the 1shot api list transactions retrieve a detailed list of completed transactions using the 1shot api list wallets retrieves a list of wallets along with their current balances make an api call executes a custom api request to the connected service using your authorized credentials read a contract method call a contract method to retrieve and return data from the blockchain search for prompts search for 1shot prompts using semantic analysis to find the most relevant results simulate a contract method executes a specified contract method in simulation mode and returns either the resulting value or an error message update a wallet updates the details of an existing wallet, such as its name or settings watch transaction webhook triggers when a transaction is either successfully completed or fails to process templates you can look for more templates in https //www make com/en/templates , where you'll find thousands of pre created {{scenario plural lowercase}} 1shot api resources you can have access to more resources related to this app on the following links https //community make com/search?q=1shot%20api https //1shotapi com https //docs 1shotapi com/ https //www make com/en/integrations/oneshot