# South African Post Office Tracking API For PHP
South African Post Office Tracking API and webhook make it easy to integrate South African Post Office Tracking function into your own project. Support APIs Client Libraries for php
### API key
In order to use this API, you need to generate a South African Post Office Tracking API key in the TrackingMore.
Apply for free use of API.
trackingmore.com
### List of Tracking Status
String | Description
----|------
pending | New shipments added that are pending to track
notfound | Item is not found at this moment.
transit | Item has shipped from originating and is en route to its destination
pickup | Item is out for delivery or arrived at local facility, you may schedule for delivery or pickup
delivered | The shipment was delivered sucessfully.
undelivered | Carrier attempted to deliver but failed, and usually leaves a notice and will try to delivery again.
exception | Item might undergo unusual shipping condition, this may due to several reasons, most likely item was returned to sender, customs issue, lost, damaged etc.
expired | Item was in transportation period for a long time still has no delivered results.
### Typical Server Responses
We will respond with one of the following status codes.
Code | Description
----|------
200 | OK - The request was successful (some API calls may return 201 instead).
201 |Created - The request was successful and a resource was created.
202 | Created - The request was successful but exceeding the limit.
401 |Unauthorized - Authentication failed or user does not have permissions for the requested operation.
4001| Unauthorized - Invalid API key.
4002| Unauthorized - API key has been deleted.
4012 |Bad Request - The request could not be understood or was missing required parameters.
4013| Bad Request - Tracking_number is required.
4014| Bad Request - The value of `tracking_number` is invalid.
4015| Bad Request - The value of `carrier_code` is invalid.
4016| B …