The 6 digit code, called the shortcode, is returned in a GET organisations request. There is a link to this within the article that Doel posted above.