AfterShip

The AfterShip integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] allows one to track deliveries by AfterShip, a service that supports 490+ couriers worldwide. To use the tracking API functionality, the Pro plan is required.

The sensor value shows the number of packages that are not in Delivered state. As attributes are the number of packages per status.

Setup

To use this sensor, you need an AfterShip Account and set up an API Key. To set up an API Key go to AfterShip API page, and copy existing key or generate a new one.

Important

AfterShip removed the Tracking API functionality from the Forever Free plan, and also no longer offers it in the Essentials plan. Using this integration now requires at least the Pro plan.

Configuration

To add the AfterShip service to your Home Assistant instance, use this My button:

Manual configuration steps

If the above My button doesn’t work, you can also perform the following steps manually:

  • Browse to your Home Assistant instance.

  • Go to Settings > Devices & services.

  • In the bottom right corner, select the Add Integration button.

  • From the list, select AfterShip.

  • Follow the instructions on screen to complete the setup.

List of actions

The AfterShip integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] provides the following actions. Each link below opens a dedicated page with examples, parameters, and a step-by-step UI walkthrough.

  • Add tracking (aftership.add_tracking) Adds a new tracking number to AfterShip.

  • Remove tracking (aftership.remove_tracking) Removes a tracking number from AfterShip.

For an overview of every action across all integrations, see the actions reference.

Note

This integration retrieves data from AfterShip public REST API, but the integration is not affiliated with AfterShip.