The Phases in an API lifecycle are,
Planning and Designing APIs
Publishing APIs
Testing APIs
Retiring APIs