-
Notifications
You must be signed in to change notification settings - Fork 82
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
Marketing API: Forms support #46
Comments
+1 Basically the marketing API is completely missing as far as i can see |
Hi everyone. |
@ksvirkou-hubspot Thank you for confirming, I'll use the v2 API for now then. |
Hi, @ksvirkou-hubspot |
You understand correctly |
What is the latest API for form entry submit? This one has v3 and "legacy" both in the url: https://legacydocs.hubspot.com/docs/methods/forms/submit_form_v3_authentication Is it what one should use if the need is to submit form entries? |
@apeisa Even if it's not supported yet, I use the v3 client, but with the "no wrapped endpoint" feature as follows : $response = $hubspot->apiRequest([
'method' => 'POST',
'baseUrl' => 'https://api.hsforms.com',
'path' => "/submissions/v3/integration/submit/$hubspotPortalId/$hubspotFormGuid",
'body' => [
"fields" => $fieldsValues,
"context" => $contextValues,
],
]); This way I'm ready when the submit will be available with client. Hope it helps you |
Hey, I'm basically looking for this client's equivalent of the v2 API client's form retrieval. In the v2 API client, I suppose it would be something like this:
This v3 API client implementation does not seem to support forms (yet?), i. e. there is no abstraction here for a v3 API call like this:
curl --request GET \ --url 'https://api.hubapi.com/marketing/v3/forms/formId?hapikey=YOUR_HUBSPOT_API_KEY'
Is that correct or am I just looking in the wrong place?
The text was updated successfully, but these errors were encountered: