curl --request GET \
--url https://api.snappy.com/public-api/v2/recipients \
--header 'X-Api-Key: <api-key>'{
"results": [
{
"id": "xyz12345",
"createdAt": "2022-12-06T09:50:38.536Z",
"updatedAt": "2022-12-06T09:50:38.536Z",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"country": "US",
"accounts": [
"a12bcd34",
"a56bcd78"
],
"type": "employee",
"updatedBy": "abc12345",
"source": {
"type": "apiIntegration"
}
}
],
"skip": 0,
"limit": 200
}Use this API to search for and retrieve a list of recipients based on your specified criteria.
Filtering options:
(See the API reference for a complete list)
recipients:read:masked or recipients:read:unmaskedcurl --request GET \
--url https://api.snappy.com/public-api/v2/recipients \
--header 'X-Api-Key: <api-key>'{
"results": [
{
"id": "xyz12345",
"createdAt": "2022-12-06T09:50:38.536Z",
"updatedAt": "2022-12-06T09:50:38.536Z",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"country": "US",
"accounts": [
"a12bcd34",
"a56bcd78"
],
"type": "employee",
"updatedBy": "abc12345",
"source": {
"type": "apiIntegration"
}
}
],
"skip": 0,
"limit": 200
}Documentation Index
Fetch the complete documentation index at: https://docs.snappy.com/llms.txt
Use this file to discover all available pages before exploring further.
Company level authentication provides access to all resources under your company, including accounts, campaigns, gifts, and recipients.
POST /v2/authentication/apiKeys endpoint to generate a new API keyInclude your API key in the X-Api-Key header for every request:
X-Api-Key: YOUR_24_CHARACTER_API_KEYFor production environments, enable mutual TLS authentication:
enforceMtls: true when creating the API keyhttps://mtls-api.snappy.com/public-apiSource of the request
api_native, api_zapier, api_salesforce, api_ftp, api_make "api_native"
Company ID
^[A-Za-z0-9]{8,}$"12345678"
The first name of the recipient.
1["John"]The last name of the recipient.
1["Doe"]The external id of the recipient.
1["123", "124"]Recipient email addresses (must be valid email format).
1^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$["sad@asd.com"]Alternative email addresses to use for sending gifts, overriding the recipient's primary email.
1^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$["sad@sad.com"]The account id of the recipient.
1["a12bcd34", "a56bcd78"]The source of the recipient.
1The source of the recipient.
apiIntegration, hrisIntegration, manual, ftpIntegration, fileSync ["apiIntegration", "ftpIntegration"]Fields to include in the response. Use 'full' to include all fields.
1Fields to include in the response. Use 'full' to include all fields.
id, createdAt, updatedAt, firstName, lastName, email, emailOverride, mobilePhone, country, externalId, accounts, updatedBy, source, owner, type, recipientCustomFields, birthday, full ["id", "firstName"]Number of records to skip for pagination (use with limit for paging through results)
x >= 00
Maximum number of records to return per page
1 <= x <= 200200
Was this page helpful?