Generating affiliate link with API

Status: Open · Asked by luabrankatz on · 0 views

luabrankatz — Question ·

I was wondering how do i use the action of telegram bot using custom API request.

i would like that this action will send a link from my google sheet to my telegram and create an affiliate link using my API.

is that something possible to do?

Pabblymember11 — Reply ·

Hey @luabrankatz

Please share the workflow URL in which you have tried the same so that we can check on it check on its possibility and guide you accordingly.

luabrankatz — Reply ·
Hey @luabrankatz

Please share the workflow URL in which you have tried the same so that we can check on it check on its possibility and guide you accordingly.


so the thing is that i didnt try it yet because i am not sure how to do it.

i only have 1 workflow and the last step is the step with telegram bot that i would like it to send an aliexpress URL to telegram and convert it to my affiliate link using my API.

i attached aliexpress api backend

Arshil Ahmad — Reply ·

Could you please share the API documentation of the endpoint you are trying to execute?

luabrankatz — Reply ·
Could you please share the API documentation of the endpoint you are trying to execute?

I'm not sure what do you mean by that..
To which part of the image are you referring?
Arshil Ahmad — Reply ·

I need you to share the entire API documentation from which you captured this screenshot.

Arshil Ahmad — Reply ·

In the video shared below, our video team member is trying to execute an endpoint related to Mailerlite. In this video, she is referencing Mailerlite's API documentation to set up the endpoint.

So, this would be the API documentation of the application she is trying to connect using API by Pabbly:
https://developers-classic.mailerlite.com/reference/campaigns-by-type

youtube.com/watch?v=xYC5mTobFfc

I need you to share the API documentation of the application you are trying to connect to using API by Pabbly in a similar manner.

Arshil Ahmad — Reply ·

Thank you for sharing the API documentation. Please allow me some time to discuss the possibility of this use case with my team. We will get back to you with an update soon.

luabrankatz — Reply ·
Thank you for sharing the API documentation. Please allow me some time to discuss the possibility of this use case with my team. We will get back to you with an update soon.

Hello @ArshilAhmad
By any chance did you have the time to look in to it?

thanks!

Pabblymember11 — Reply ·

Please allow us some time, we are looking into it meanwhile please share the workflow URL for the same.

luabrankatz — Reply ·
Please allow us some time, we are looking into it meanwhile please share the workflow URL for the same.

okay thank you.

there is no workflow made for this specific function.

i took the inspiration from this video:

youtube.com/watch?v=AqJ2h5uXGK8

Pabblymember11 — Reply ·

I couldn't discover an alternative method for making this API request. We suggest that you test the API reference using the Postman application first. If it works in Postman, you can then import the CURL request and use it with the Pabbly action step in the API.

luabrankatz — Reply ·
I couldn't discover an alternative method for making this API request. We suggest that you test the API reference using the Postman application first. If it works in Postman, you can then import the CURL request and use it with the Pabbly action step in the API.

to be honest i am not sure what do you mean by that..
Is there any chance that someone of the staff check it for me?
Pabblymember11 — Reply ·

Kindly try this CURL request in your workflow once and then check.

curl --location --globoff '{{url}}/aliexpress.affiliate.link.generate' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'charset: utf-8' \
--data-urlencode 'app_key=12345678' \
--data-urlencode 'timestamp=1712125822133' \
--data-urlencode 'sign_method=sha256' \
--data-urlencode 'sign=D13F2A03BE94D9AAE9F933FFA7B13E0A5AD84A3DAEBC62A458A3C382EC2E91EC:' \
--data-urlencode 'app_signature=asdasdas' \
--data-urlencode 'promotion_link_type=0' \
--data-urlencode 'source_values=http%3A%2F%2Fwww.aliexpress.com%2Chttp%3A%2F%2Fwww.aliexpress.ru' \
--data-urlencode 'tracking_id=default'

youtube.com/watch?v=bmf4och_kTk

Back to all forum threads · Log in to reply