write about example of get credential API