api declared