summaryrefslogtreecommitdiff
path: root/Postman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/lib/contacts/README.md
blob: 601f3b350c9f9dc78ef8b272796b2cf70dacf4a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Recipients Helper

**This helper allows you to quickly and easily build a subscription form to add contacts to your contactdb in Sendgrid.**

## Quick Start

Run the [example](https://github.com/sendgrid/sendgrid-php/blob/master/examples/helpers/contacts/recipients.php) (make sure you have set your environment variable to include your SENDGRID_API_KEY).

```bash
php examples/helpers/contacts/recipients.php
```

## Usage

- See this complete working [example](https://github.com/sendgrid/sendgrid-php/blob/master/examples/helpers/contacts/recipients.php).
- [Documentation](https://sendgrid.com/docs/API_Reference/api_v3.html#contacts-api-recipients)