Created a valid pattern for the notifications API