-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
howto get/update a marketing email? #255
Comments
the greater context here is:
i want to modify the draft a bit, and fill out some version field (we use it for sending out 'new version of our app is ready' emails)
i've read a bit about workflows, maybe these could be used to send an email to a list of people? |
Following – we have also waited for the release of the V3 API for Marketing Emails, now that the Beta is out it seems like a bit of a letdown though (still have to make a GET request using Python). Hope that this will be updated soon to follow the same logic as the other endpoints. |
Heyho, is there any update expected here? We've been wanting to add Marketing Emails to our Hubspot export for a while, but the fact that it only supports GET (and not the API structure for other object types) is really in our way. |
btw we just started to automate with plain curl requests. the postman stuff
helped a lot
fil
…On Thu 7. Mar 2024 at 10:51, fromfarland ***@***.***> wrote:
Heyho, is there any update expected here? We've been wanting to add
Marketing Emails to our Hubspot export for a while, but the fact that it
only supports GET (and not the API structure for other object types) is
really in our way.
—
Reply to this email directly, view it on GitHub
<#255 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFIH4QQFZ4TOP2JSBWQ6WB3YXA2A5AVCNFSM6AAAAABA6G7KRSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBTGEZTEMZWGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
hi;
apparently there is an old api https://legacydocs.hubspot.com/docs/methods/cms_email/get-all-marketing-emails?_ga=2.137222000.1378662146.1702885879-633345307.1702630492&_gl=1*unmw3y*_ga*NjMzMzQ1MzA3LjE3MDI2MzA0OTI.*_ga_LXTM6CQ0XK*MTcwMjkwODUxNy42LjEuMTcwMjkwODY1OC4xNi4wLjA.
and a new one https://developers.hubspot.com/docs/api/marketing/marketing-email
and since the python api here speaks of v3 in the code, i assume it is for the new one ?
in the new api docs, the marketing emails seem to be on toplevel, called marketing,
but in python i find it's below crm ?
i tried this api_client.crm.objects.emails.basic_api.get_by_id("88421935588") with an existing email id here,
but i only get not_found..
in postman i can get email, it does this:
curl --location 'https://api.hubapi.com/marketing/v3/emails/87967987905/draft'
--header 'Accept: application/json'
-- header 'Bearer: XXX'
is it possible to turn on debug logging on the python api client so that i can see, what endpoint my request above queries ?
The text was updated successfully, but these errors were encountered: