Regex's to validate API Key and Org ID format?


Are there any ‘official’ regular expressions for the API key string and the Organisation ID string formats?

To save pointless usage of the api endpoint, I would like to do some simple pre-validation in my functions before attempting a connection/authentication.

I can’t find this mentioned in the documentation.

Any help will be appreciated.


1 Like