question

HectorRodriguezFigueroa avatar image
HectorRodriguezFigueroa asked

How can you add custom headers to webhooks?

Is there a way to add custom headers to a PlayFab webhook (created in Analytics>WebHooks)? My server's endpoint (URI) requires a X-Parse-REST-API-Key and X-Parse-Application-Id to be accepted. Or is this not the right way to do this?

,

Is there a way to add custom headers to a PlayFab webhook (created in Analytics>WebHooks)? My server's endpoint (URI) requires a X-Parse-REST-API-Key and X-Parse-Application-Id to be accepted. Or is this not the right way to do this?

webhooks
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brendan avatar image
brendan answered

Not currently. If that's something you feel would be a good addition, I'd recommend adding it in our Feature Requests forum.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

aaxbut avatar image
aaxbut answered

For add a simple ignore process add to web hook url param like http://url/?access-code=123321 and on backend check this.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Daxay avatar image
Daxay answered

@HectorRodriguezFigueroa Playfab is now supporting to add up to 3 headers to the webhooks requests.
You can find this details in their latest docs.

https://docs.microsoft.com/en-us/gaming/playfab/features/data/webhooks/#configuring-a-webhook

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.