import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
boldsign: {
type: "app",
app: "boldsign",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.boldsign.com/v1/users/list`,
headers: {
Authorization: `Bearer ${this.boldsign.$auth.oauth_access_token}`,
},
})
},
})
Send documents for e-signature using a BoldSign template. See the documentation
BoldSign uses OAuth authentication. When you connect your BoldSign account, Pipedream will open a popup window where you can sign into BoldSign and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any BoldSign API.
Pipedream requests the following authorization scopes when you connect your account:
offline_accessBoldSign.Users.ReadBoldSign.Documents.WriteBoldSign.Documents.CreateBoldSign.Templates.ReadBoldSign.Templates.WriteBoldSign.Templates.CreateBoldSign.SenderIdentity.ReadBoldSign.Documents.ReadBoldSign.Contacts.ReadGEThttps://account.boldsign.com/connect/authorize?client_id={{oauth.client_id}}&redirect_uri={{oauth.redirect_uri}}&state={{oauth.state}}&response_type=code&scope={{oauth.space_separated_scopes}}&code_challenge={{oauth.state}}&code_challenge_method=S256POSThttps://account.boldsign.com/connect/tokencontent-type: application/x-www-form-urlencodedaccept: application/jsoncode_verifier: {{oauth.verifier}}client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&redirect_uri={{oauth.redirect_uri}}&grant_type=authorization_code&code={{oauth.code}}POSThttps://account.boldsign.com/connect/tokencontent-type: application/x-www-form-urlencodedaccept: application/jsonclient_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&grant_type=refresh_token&refresh_token={{oauth.refresh_token}}