Power Automate - How to upload a file using PipeDrive API?

Опубликовано: 05 Октябрь 2024
на канале: abm abm
1,507
12

This video explains how to upload a file using PipeDrive API.

Here are the details of the API

Method: Post

URI: https://hubinternational2.pipedrive.c...

Headers:
{
“Accept”: “application/json”,
“Content-Type”: “multipart/form-data”
}

Queries:
{
“api_token”: “your api token”
}

Body:
{
“$content-type”: “multipart/form-data”,
“$multipart”: [
{
“body”: “your deal id”,
“headers”: {
“Content-Disposition”: “form-data; name="deal_id"”
}
},
{
“body”: {
“$content”: “your binary format of the file content”,
“$content-type”: “application/pdf”
},
“headers”: {
“Content-Disposition”: “form-data; name="file"; filename="yourfilename.pdf"”
}
}
]
}