create a ticket directly in Hubspot from our portal
we would like to enable the option to create a ticket directly in Hubspot from our portal, I create account and apps, but still didn't find the way to do authentication in order to call Hubspot APIs
create a ticket directly in Hubspot from our portal
Hey, @home365 Thanks for reaching out. It's likely our community will need more info to get you an answer or the next step. Can you provide any specific details on what you've already tried? Screenshots, links to documentation, and code blocks are all helpful.
create a ticket directly in Hubspot from our portal
I ran the below request but I got the an error: curl --location --request POST ' https://api.hubapi.com/crm/v3/objects/tickets?hapikey=eu1-98b7-8b39-40ba-a090-198877787c39 ' \ --header 'content-type: application/json' \ --data-raw '{ "properties": { "hs_pipeline": "support_pipeline", "hs_pipeline_stage": "open", "hs_ticket_priority": "HIGH", "hubspot_owner_id": "910901", "subject": "troubleshoot report" } }' Response: { "status": "error", "message": "This app hasn't been granted all required scopes to make this call. Read more about required scopes here: https://developers.hubspot.com/scopes.", "correlationId": "0156d732-f873-452f-b8af-8ede364b38a2", "errors": [ { "message": "One or more of the following scopes are required.", "context": { "requiredScopes": [ "e-commerce", "tickets", "media_bridge.read", "contacts", "crm.objects.custom.read", "crm.objects.custom.write" ] } } ], "links": { "scopes": "https://developers.hubspot.com/scopes" }, "category": "MISSING_SCOPES" }