def METHOD_NAME(endpoint, token):
    reminder_text = str(uuid.uuid4())
    next_reminder = datetime.utcnow() + timedelta(seconds=1)
    reminder_delay = 1
    number_of_reminders = 1
    request_data = {
        'text': reminder_text,
        'next_reminder': next_reminder.strftime("%Y-%m-%dT%H:%M:%S"),
        'reminder_delay': reminder_delay,
        'number_of_reminders': number_of_reminders,
    }
    status, data = api(
        'POST',
        endpoint,
        data=request_data,
        token=token,
    )
    assert status == 200
    assert data['status'] == 'success'
    status, data = api('GET', endpoint, token=token)
    assert status == 200
    assert data['status'] == 'success'
    data = data['data']['reminders']
    # find the index of reminder we just created using the text
    reminder_index = next(
        index
        for index, reminder in enumerate(data)
        if reminder['text'] == reminder_text
    )
    assert reminder_index != -1
    assert data[reminder_index]['text'] == reminder_text
    assert data[reminder_index]['next_reminder'] == next_reminder.strftime(
        "%Y-%m-%dT%H:%M:%S"
    )
    assert data[reminder_index]['reminder_delay'] == reminder_delay
    assert data[reminder_index]['number_of_reminders'] == number_of_reminders
    n_retries = 0
    while n_retries < 10:
        status, data = api(
            'GET',
            endpoint,
            token=token,
        )
        if data['status'] == 'success':
            data = data['data']['reminders']
            # find the index of reminder we just created using the text
            reminder_index = next(
                index
                for index, reminder in enumerate(data)
                if reminder['text'] == reminder_text
            )
            if data[reminder_index]['number_of_reminders'] == number_of_reminders - 1:
                break
        time.sleep(15)
        n_retries += 1
    assert n_retries < 10
    assert status == 200
    assert len(data) == 1
    assert data[reminder_index]['text'] == reminder_text
    assert data[reminder_index]['next_reminder'] == (
        next_reminder + timedelta(days=reminder_delay)
    ).strftime("%Y-%m-%dT%H:%M:%S")
    assert data[reminder_index]['reminder_delay'] == reminder_delay
    assert data[reminder_index]['number_of_reminders'] == number_of_reminders - 1
    return reminder_text