Question

How do I pass Bearer token for Webhooks to integrate with salesforce.

  • 9 November 2022
  • 3 replies
  • 135 views

How do i pass Bearer token for webhook from typeform to salesforce.

 

Request :

HeadersContent-Type: application/json
User-Agent: Typeform Webhooks
Payload

{  "event_id": "01GHE71ZYS22P8PPRTERYMYTHF",  "event_type": "form_response",  "form_response": {...}

     ….

}

 

Response : 401

HeadersWww-Authenticate: Token
Content-Type: application/json;charset=UTF-8
X-Robots-Tag: none
Set-Cookie: CookieConsentPolicy=0
Strict-Transport-Security: max-age=63072000; includeSubDomains
Cache-Control: no-cache,must-revalidate,max-age=0,no-store,private
Date: Wed, 09 Nov 2022 12
Payload

[  {    "message": "Session expired or invalid",    "errorCode": "INVALID_SESSION_ID"  }]

 

 


3 replies

Userlevel 7
Badge +5

Hi @skandaswamy, can you share a bit more context? What’s the bigger picture of your workflow?

Hi Andrew,

    Iam looking to setup webhook from typeform to salesforce.  How can I send authentication (bearer token) in my webhook.

 

Regards,

Sarav

Userlevel 7
Badge +5

@skandaswamy If you’re using webhooks, authentication should already be handled for you.

The webhook delivery will be sent to your server, then you can select whichever fields you want and send that information to Salesforce 🙂

Reply