Developers » API methods » Utils » utils.getShortLink
Allows to receive a link shortened via
This method can be called by a service token. Only public data is returned.
This method can be called with a user token.
This method can be called with a community token.
urlURL to be shortened.
string, required parameter
private1 private stats, 0 public stats.
flag, either 1 or 0, default
Returns an object with following fields:
  • short_url (string) shortened URL;
  • access_key (string) access key for private stats;
  • key (string) link key (characters after "");
  • url (string) full URL.
Global errors can occur while running. See their descriptions on this page.