mailjet / api-documentation

Mailjet API Guides
https://dev.mailjet.com/guides
22 stars 25 forks source link

Looks like payload limit is wrong in documentation #12

Closed smiileTeam closed 6 years ago

smiileTeam commented 6 years ago

On api v3.1

Limitation size of JSON payload The number of message objects authorised in the payload is now 100, also limiting the number of recipients ("To") authorised on one single Send API call.

With more than 50 recipients in payload (let's say 77 messages with only one recipient in each message in Messages array), we receive a error:

"result": {
    "ErrorIdentifier": "xxxx",
    "ErrorCode": "send-0015",
    "StatusCode": 400,
    "ErrorMessage": "Total number of recipients exceeded. Max allowed - 50.",
    "ErrorRelatedTo": [
        "To",
        "Bcc",
        "Cc"
    ]
}

please clarify

adamyanliev commented 6 years ago

Hello,

Apologies for the delayed response. The limit is 100 for users on Send API v3. For Send API v3.1 the limit is 50. Basically with v3 users can send higher volumes, while v3.1 is focused on faster deliverability - that is the reason behind the limit difference.

We'll clarify the information in the next version of the guide, thanks for pointing this out.