#luisxxor_webhooks-account-identification

1 messages ยท Page 1 of 1 (latest)

sly smeltBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1297954469819973713

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

visual mesa
#

Hi ๐Ÿ‘‹

So these would be entirely separate accounts. not Connected Accounts related to a Platfom Account?

#

Since these are separate accounts, you cannot use the account property since we only include that for Connected Accounts

#

However, what you can do is add a URL query parameter to the webhook endpoint URL you specify that identifies each account.

For example, I just tested something like this as a webhook URL

https://path/to/webhook?account=acct_1234
#

Then your webhook handling function would need to extract the query parameter from the URL

pastel gazelle
#

Yeah, that's what we thought about how to tackle it, we asked just to be sure that this was the best way to implement it, thank you very much!

visual mesa
#

Happy to help ๐Ÿ™‚