with Auth0 (Management API) and Orshot?
Generate an image from a pre-designed library template using the Orshot API. See the documentation
Generate an image from an Orshot Studio template using the Orshot API. See the documentation
Get available modification keys for a studio template
Get available modification keys for a library template
Retrieve a list of available library templates from Orshot. See templates
The Auth0 Management API can be used to create, read, update,
and delete users, as well as to query for them. Additionally, you can
use the Management API to change user passwords, add and remove user roles,
link and unlink user accounts, and more. For more information, see the Auth0 Management API documentation here
// In order to use the example request below, please ensure that you have the scope
// `read:users` on your application.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
auth0_management_api: {
type: "app",
app: "auth0_management_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.auth0_management_api.$auth.domain}/api/v2/users`,
headers: {
Authorization: `Bearer ${this.auth0_management_api.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
orshot: {
type: "app",
app: "orshot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.orshot.com/v1/templates`,
headers: {
Authorization: `Bearer ${this.orshot.$auth.token}`,
"content-type": `application/json`,
},
})
},
})