Mothership API
Mothership provides a RESTful API that enables third-party developers to quote, purchase, and track shipments for their respective Mothership shipping accounts.
The API responds with JSON-encoded data and standard response codes. Additionally, webhooks are available to provide real-time status updates for shipments.
Accessing the API
Customers may retrieve their sandbox and production API tokens by visiting the API settings in the dashboard
Environments
There are two environments available to developers.
Environment | URL | Description |
---|---|---|
Sandbox | https://sandbox.api.mothership.com | The sandbox is a safe environment to test endpoints without actually purchasing a shipment. Some parameters are restricted to specific values. Details for each endpoint's limitations can be found in the API reference documentation. |
Production | https://api.mothership.com | The production environment is, as you might expect, used to actually leverage Mothership's API. The parameter limitations in the sandbox environment are not present in the production environment. |
OpenAPI Specification
An OpenAPI v3 specification for Mothership's API can be downloaded for use in auto-generation of client code.
Support
If you run into any issues or have any questions while using the Mothership API, please send an email to [email protected].