Request a proximity mailing
Finds addresses around a point or address using the supplied filters and queues them as recipients on the integration order. Recipient discovery runs asynchronously after the request is accepted.
Finds addresses around a point or address using the supplied filters and queues them as recipients on the integration order. Recipient discovery runs asynchronously after the request is accepted.
Authorization
ApiKey In: header
Path Parameters
ID of integration order add recipients to.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Name for the proximity search
List of Addresses to search around
If true - the recipients in this order can be used multiple times
Optional return address override - title printed with the return name (e.g. Mr., Mrs.) Applies to every recipient generated by this call
Optional return address override - first name Must be provided together with ReturnLastName
Optional return address override - last name Must be provided together with ReturnFirstName
Optional return address override - organization name
Optional return address override - street address line 1 Required when any other return address field is provided
Optional return address override - street address line 2
Optional return address override - city Required when ReturnAddress1 is provided
Optional return address override - state Required when ReturnAddress1 is provided
Optional return address override - zip code Required when ReturnAddress1 is provided
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/integration-orders/0-by-proximity" \ -H "Content-Type: application/json" \ -d '{ "Name": "string", "OwnerOrRenterFilter": 0, "PropertyTypeFilter": 0, "HouseHoldIncomeFilter": { "min": 0, "max": 0 }, "LengthOfResidenceFilter": { "min": 0, "max": 0 }, "YearBuiltFilter": { "min": 0, "max": 0 }, "HomePriceFilter": { "min": 0, "max": 0 }, "Addresses": [ { "address1": "string", "address2": "string", "city": "string", "state": "string", "zip": "string", "DesiredCount": 0 } ], "MultiUse": true, "ReturnTitle": "string", "ReturnFirstName": "string", "ReturnLastName": "string", "ReturnOrganization": "string", "ReturnAddress1": "string", "ReturnAddress2": "string", "ReturnCity": "string", "ReturnState": "string", "ReturnZip": "string" }'{ "profile": { "id": 0, "aadId": "1cbad290-069a-4527-be23-a0c144b5302d", "email": "string", "firstName": "string", "lastName": "string", "company": "string", "created": "2019-08-24T14:15:22Z", "shouldProcessQrCodes": true }, "payload": { "id": 0, "name": "string", "createdDate": "2019-08-24T14:15:22Z", "updatedDate": "2019-08-24T14:15:22Z", "postageType": "Standard", "integrationOrderStatus": "Active" }, "errorCode": "UNAUTHENTICATED", "errors": [ "string" ], "hasErrors": true, "warnings": [ "string" ], "hasWarnings": true, "errorDetails": [ null ], "metadata": { "property1": null, "property2": null }}{ "profile": { "id": 0, "aadId": "1cbad290-069a-4527-be23-a0c144b5302d", "email": "string", "firstName": "string", "lastName": "string", "company": "string", "created": "2019-08-24T14:15:22Z", "shouldProcessQrCodes": true }, "payload": { "id": 0, "name": "string", "createdDate": "2019-08-24T14:15:22Z", "updatedDate": "2019-08-24T14:15:22Z", "postageType": "Standard", "integrationOrderStatus": "Active" }, "errorCode": "UNAUTHENTICATED", "errors": [ "string" ], "hasErrors": true, "warnings": [ "string" ], "hasWarnings": true, "errorDetails": [ null ], "metadata": { "property1": null, "property2": null }}{ "profile": { "id": 0, "aadId": "1cbad290-069a-4527-be23-a0c144b5302d", "email": "string", "firstName": "string", "lastName": "string", "company": "string", "created": "2019-08-24T14:15:22Z", "shouldProcessQrCodes": true }, "payload": { "id": 0, "name": "string", "createdDate": "2019-08-24T14:15:22Z", "updatedDate": "2019-08-24T14:15:22Z", "postageType": "Standard", "integrationOrderStatus": "Active" }, "errorCode": "UNAUTHENTICATED", "errors": [ "string" ], "hasErrors": true, "warnings": [ "string" ], "hasWarnings": true, "errorDetails": [ null ], "metadata": { "property1": null, "property2": null }}List integration orders GET
Returns the account's integration orders (automations) — standing orders that mail each recipient added to them — with their template and configuration details.
Add a recipient to an integration order POST
Adds one recipient to an integration order, validating and standardizing the address before queueing the mail piece for that recipient.