Webhooks and SMS Sending Question | Community
Skip to main content
Level 2
October 2, 2025
Solved

Webhooks and SMS Sending Question

  • October 2, 2025
  • 1 reply
  • 408 views

Hello

Can anyone with experience of SMS execution in Marketo help me please.

We have had SMS capability built into our Marketo.

This is the flow:

  1. Call webhook: Get 0Auth Token ( this gives the data to the third party between Marketo and the SMS sending platform)
  2. Wait 5 seconds
  3. Call webhook:  send SMS

We are having issues with the 0auth token running out before the SMS’s can send. The 0auth token only stays open for 900 seconds.

But how many SMSs that are sent each time varies, I can see this is sometimes due to other processing happening in Marketo as it looks like webhooks are the lowest priority.

Is this expected behavior? And the expected set up of SMS capabilities in Marketo?

Thank you in advance for any help on this topic.

Best answer by SanfordWhiteman

This is a poor choice of architecture. It has a built-in race condition and isn’t reliable for professional use. It also cuts your sending capacity in half even when it works!

 

If an OAuth token is required, you should send your webhook requests to an intermediate API Gateway service that manages (i.e. caches) the token and sends the SMS.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
October 2, 2025

This is a poor choice of architecture. It has a built-in race condition and isn’t reliable for professional use. It also cuts your sending capacity in half even when it works!

 

If an OAuth token is required, you should send your webhook requests to an intermediate API Gateway service that manages (i.e. caches) the token and sends the SMS.

PennyHAuthor
Level 2
October 3, 2025

Thanks @sanfordwhiteman that is helpful