Skip to content

Instantly share code, notes, and snippets.

<?php
$_POST['email'] = '';
// slack invite
$group = ''; // team name
$token = ''; // admin token generated at https://api.slack.com/docs/oauth-test-tokens
$data = array(
'email' => $_POST['email'],
'channels' => '',
'first_name' => '',