# How do I generate a valid SDK signature from PHP?

**URL:** <https://devforum.zoom.us/t/how-do-i-generate-a-valid-sdk-signature-from-php/70691>\
**Category:** Meetings\
**Tags:** web-meeting-sdk\
**Created:** [June 17, 2022, 2:12pm UTC](https://devforum.zoom.us/t/how-do-i-generate-a-valid-sdk-signature-from-php/70691 "2022-06-17T14:12:05Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [November 10, 2022, 9:17pm UTC](https://devforum.zoom.us/t/how-do-i-generate-a-valid-sdk-signature-from-php/70691/7 "2022-11-10T21:17:21Z")

</div>

@eelsayyad,

Thanks for posting in the Zoom Developer Forum. Can you confirm you if are using the SDK Key and Secrets from Meeting SDK Marketplace App type? Here is a link to the help documentation for reference :

[https://marketplace.zoom.us/docs/guides/build/sdk-app/](https://marketplace.zoom.us/docs/guides/build/sdk-app/)

In the meantime, you may also find this thread which includes C# code snippet helpful:

> [@Can't create meeting by using an access token(client\_credentials) for server-to-server oauth type](https://devforum.zoom.us/t/cant-create-meeting-by-using-an-access-token-client-credentials-for-server-to-server-oauth-type/73791/15):
>
> Here is a complete signature generation code using c# and System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler hopefully it would help others: public string GenerateSdkJwtToken(string apiKey, string apiSecret, string meetingNumber, int role) { //convert secret to byte[]. This is the correct way. var symmetricKey = Encoding.ASCII.GetBytes(apiSecret); var tokenHandler = new JwtSecurityTokenHandler(); //don't automatically add nbf to th…

---

_[View the full topic](https://devforum.zoom.us/t/how-do-i-generate-a-valid-sdk-signature-from-php/70691)._
