Migration APIs
Email API
Domain API
Suppression API
Template API
Tags API
Subaccount API
Events API
GDPR API
Webhooks
Powered by Stoplight

Sendgrid to Pepipost Migration Guide

Switching from an ESP can seem like a daunting experience. There’s a lot of setup and configuration required. But it doesn’t have to be a nightmare. Not if you have a well-structured, easy to follow instructions that will guide you every step of the way.

Not only we have compiled a SendGrid Migration Guide but also released the simple migration APIs to make your move to Pepipost super easy and hassle-free.

Using our migration API means, that you really don’t have to rework with your code library which you have been using to send emails from Sendgrid. Just, change the API endpoint and key in your existing Sengrid’s API code or in the SDK/code library and you’re done.

e.g if Sendgrid’s email sending API looks something like this:

https://api.sendgrid.com/v3/mail/send

Then the Pepipost’s migration API for sending email will look something like this:

https://sgapi.pepipost.com/v3/mail/send

Just the endpoints changes, rest each of the Sendgrid parameter names and the way it is been called remains as it is.

Benefits of using Migration API:

  • Easy integration - Integrate in 3 easy steps, without spending too much time in coding and re-coding.
  • Code re-usability - Do not waste your time and energies to code again, we have already taken care of that. All your request and response formats remain absolutely the same. Just change API keys and URLs, and you are ready to go.
  • Minimal testing - No code change also means no repeat QA. Your code will just work! While most of the important parameters are already covered in the scope of this migration API, but there are still a few which Pepipost doesn’t support. Here’s an extensive list of Sendgrid’s APIs and it’s parameter which Pepipost supports:

List of Sendgrid APIs which are supported as a part of Pepipost migration API:

Type Method Endpoint
Email Send POST /v3/mail/send
Template Add POST /v3/templates/{template_id}/versions
Template View GET /v3/templates/{template_id}
Template Edit PATCH /v3/templates/{template_id}/versions/{version_id}
Stats GET /v3/stats?start_date=2018-11-01&end_date=2018-12-10&aggregated_by=month&limit=1&offset=2
Get Categories GET /v3/categories
Add in suppression POST /v3/asm/groups/<group_id>/suppressions
Add in Global Suppression POST /v3/asm/suppressions/global

Read Next >> Check out how you can migrate from your Sendgrid Mail Send API/SDK without re-writing the code