API Quick Start

Organization members API helps manage membership with efficiency.

You can seamlessly manage membership with AfterShip's Member API and use AfterShip's organization services from the organization admin portal. And with Member API, you can invite a member to join your organization through an email verification flow.

This quickstart guide intends to walk you through 5 common scenarios to let you know how to use membership API to manage your membership.


Membership represents the relationship between an account and an organization. You can get the list of memberships under your organization through the API, and can add, update, and delete members.

preparing...

All endpoints are only accessible via HTTPS.

Use GET API https://api.aftership.com/admin/2022-01/roles

preparing...

Use POST API https://api.aftership.com/admin/2022-01/memberships

preparing...

Use PATCH API https://api.aftership.com/admin/2022-01/memberships/:id

preparing...

Use DELETE API https://api.aftership.com/admin/2022-01/memberships/:id

preparing...

Use GET API https://api.aftership.com/admin/2022-01/memberships

preparing...

As the owner role is the default role and has the highest privilege of access rights to an organization. There are some limitations to the membership API.

  • Doesn’t allow you to create an owner membership
  • Doesn’t allow you to update an owner to another role
  • Doesn’t allow you to remove an owner membership
  • Doesn’t allow you to update a membership with the owner role