How do I programmatically get the link for a webform submission?
Webform submissions are content entities, you can use any method defined in \Drupal\Core\Entity\EntityInterface including… 


$submission->toUrl();
$submission->toLink();