how to know the details of app when a new app is created in podio? - api

I am calling a route on my server when a new app is create via webhooks. How to get the newly created app item details?
I am running apps integration server to get the details, calling a route on this server, is there any easy of getting newly created app item details?
Or is there any way like this
How do I get created item details in the webhook URL of Podio?
like in webhook https://api.domain.com/v1/message?appname={{app_name}}&itemname={{item_name}}&itemassignedto=
{{item_assigned_to}}

The documentation is at: https://developers.podio.com/doc/hooks
When the webhook is invoked you receive the parameter app_id in the POST request. That holds the app_id of the app that was created. USe that to get the full app using: https://developers.podio.com/doc/applications/get-app-22349

After you have saved the item with
$item->save();
simply add this to your API call and proceed as usual.
PodioItem:get($item->item_id);

Related

How to using Azure Board to trigger a API call or script

Is there a way I can set up a API call triggering in Azure Board? Lets say one item is "Request approval for creating S3 buckets in AWS", I want to trigger S3 creating API or script when this item's status changed from doing to done. My end goal is automating tasks like S3 buckets creation, VPC creation, shutdown/start VMs etc in my organization.
You are probably wanting to create a Webhook.
Webhooks provide a way to send a JSON representation of an event to
any service. All that is required is a public endpoint (HTTP or
HTTPS).
You would setup to trigger on work item updated. You would like need to code on your receiver to interpret the update.
A. If you want to trigger the API via work item state update, you need own website to receive message from VSTS web hook and send request to run the API call or script, and create webhook in the Azure DevOps.
Develop your own website with below functions:
Check the current state of the work item updated. You can get a work item information by REST API, and the check the value for System.State.
According to the value of System.State, to trigger related API or script.
B.
Login Power Automate and create a custom workflow. You can refer to this doc for more details.

Dropbox API finding new/changed files

I'm trying to setup a webhook from dropbox to notify my server whenever a new file is uploaded.
There are 1000's of files being shared but < 100 everyday and I only want to find the new files of a certain type that have been added or modified since the last check.
The webhook sends the userid when the file is added but doesn't indicate a file name.
Is there anyway using the list_folder api, or using another api to find out what file has been changed since a certain date?
Dropbox webhooks only tell you that something changed, but not what specifically changed.
You can use these in conjunction with /2/files/list_folder[/continue] to see what changed. The webhooks documentation and the Content Access Guide have more information about this.
In short, the basic flow would be like this:
The user connects the app to their account, and the app saves the resulting access token for that user.
The app gets the current state of the account using /2/files/list_folder[/continue], and stores the latest returned cursor.
The user makes changes in their account.
Dropbox notifies the app of changes in the user's account using a webhook notification.
The app receives the webhook notification and looks up the corresponding access token and cursor for the specified user.
The app calls /2/files/list_folder/continue using the cursor to retrieve only what changed since it last called, and again stores the latest returned cursor.
(Repeat)

Podio WebHooks RequestBin Testing

I want to test Podio Web Hooks (item.update) through RequestBin. I have created WebHook and it shows in my account. When I created i got one request for Verify on RequestBin URL. But in Podio it is showing as Inactive.
Kindly let me know how can I test further.
You have to validate the hook using the code received from the verify call. The hook will become active only after on successful validation.
Refer Podio documentation on how to Validate hook here, Validate Podio hook verification
So the webhook content is pretty bare bones, it just has request parameters for a variable or two in addition to any URL parameters you are passing based on your webhook URI. There is a whole description of what the parameters provided are here: https://developers.podio.com/doc/hookshttps://developers.podio.com/doc/hooks
Basically whatever is catching your webhook will need to be able to connect to the Podio API and fetch the item with the ID passed in the webhook.

Bigcommerce API where to fine client ID

I have a store on bigcommerce and i need to access the customers registered on our store using there api.
I havent created any app over there. I need to access the customers registering on our store.
According to api i need to use client id which we get by creating an app.
https://developer.bigcommerce.com/api/#request-headers
But actually i dont need to create a app i just want to use the store and fetch the customer details using the api into another application, can anyone please tell me how to get client id from the dashboard login.
You can use the legacy API (non-oAuth) credentials instead.
Guide: https://support.bigcommerce.com/articles/Public/Legacy-API-Accounts

hubspot api access but client_id

I am trying to parse some data using hubspot api by given demo account. To have a proper response you need client_id within parameters. It says, I can find my client_id inside app dashboard. Can someone please tell me what is the exact client_id inside dashboard or what is the client parameter for tokens.
Thanks
You would get the client_id by creating an app from the Developers dashboard, not your portal dashboard. If you haven't created an app yet, you would first need to sign in and then go here:
https://app.hubspot.com/developers/signup
If you haven't signed up yet, you can sign up there to create a Developers account, otherwise you'll get directed to the My Apps Dashboard. click the blue Create App button in the top right to create an app, and after the app is created you can click on the app name from the App Dashboard to get the Client ID.