ZAP~POST API Documentation
  • ZAP~POST API Documentation
  • Connecting to the API
  • Authentication
  • API Endpoints
    • Campaigns
    • ScheduledSends
    • Submissions
    • RejectedRecords
    • ReturnedZaps
Powered by GitBook
On this page
Export as PDF
  1. API Endpoints

ReturnedZaps

PreviousRejectedRecords

Last updated 2 months ago

Returned ZAPs are mailings that were successfully sent but returned because the carrier couldn't physically deliver them for some reason. We will log any ZAPs returned as well as the reason they weren't delivered if the carrier provides one. This information can be retrived on a submission level via the following endpoint.

get
Authorizations
Path parameters
submissionIdstring ยท uuidRequired
Responses
200
Success
application/json
400
Bad Request
401
Unauthorized
404
Not Found
get
GET /api/v1/ReturnedZaps/{submissionId} HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "id": 1,
    "zapId": 1,
    "zapIdentifier": "123e4567-e89b-12d3-a456-426614174000",
    "campaignId": "123e4567-e89b-12d3-a456-426614174000",
    "apiConsumerId": "123e4567-e89b-12d3-a456-426614174000",
    "clientId": "123e4567-e89b-12d3-a456-426614174000",
    "submissionId": "123e4567-e89b-12d3-a456-426614174000",
    "returnReason": "text",
    "returnedDate": "2025-06-13T13:58:16.815Z"
  }
]