An open API service indexing awesome lists of open source software.

https://github.com/ilgooz/service-discord-invitation

Service to invite users to join the MESG Discord
https://github.com/ilgooz/service-discord-invitation

Last synced: about 2 months ago
JSON representation

Service to invite users to join the MESG Discord

Awesome Lists containing this project

README

        

# Discord invitation

Send an invitation to MESG's Discord

```bash
mesg-core service deploy https://github.com/mesg-foundation/service-discord-invitation
```

## Tasks

### send

Task key: **send**

#### Inputs

| **key** | **type** | **description** |
| --- | --- | --- |
| **email** | `String` | Email of the receipient of the email |
| **sendgridAPIKey** | `String` | Sendgrid API key [https://app.sendgrid.com/settings/api_keys](https://app.sendgrid.com/settings/api_keys) |

#### Outputs

##### error

Output key: **error**

Return a `message` with the error

| **key** | **type** | **description** |
| --- | --- | --- |
| **message** | `String` | |

##### success

Output key: **success**

Return the status `code` and `message` when everything functions as expected.

| **key** | **type** | **description** |
| --- | --- | --- |
| **code** | `Number` | |
| **message** | `String` | |